On Mon, 8 Jan 2001, Martin Moss wrote:

> Thanks for the input guys,
> 
> one final question, how can I tell that the reference I've been given is
> actually a reference to a subroutine?
>

By seeing if ref($yoursubref) returns the constant "CODE".

**** [EMAIL PROTECTED] <Carl Jolley>
**** All opinions are my own and not necessarily those of my employer ****

_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to 
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users

Reply via email to