On Thu, 8 Jul 2004 08:51:08 -0600, Wiggins d Anconia wrote
> 
> perldoc UNIVERSAL specifically the 'can' function.

That's the one.  But who's it calling "DUMMY"?  That's not my code...

C:\temp>type test.pl
use CGI;
use Data::Dumper;

my ${ref} = CGI->can( 'param' );

print Dumper( ${ref} );

${ref} = CGI->can( 'goober' );

print Dumper( ${ref} );

exit( 0 );

C:\temp>test.pl
$VAR1 = sub { "DUMMY" };
$VAR1 = undef;


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to