In this case, $func holds a "hard reference", not a "soft reference". The strict pragma only blocks the latter.

Here's a simple example:

sub howdy { print "Howdy!\n"; }

my $func = \&howdy;    # hard reference
$func->();        # fine, even with strictures

$func = 'howdy';        # soft reference, name only
$func->();        # will not pass strictures

Hope that helps.


Very much so! Thx a million :)


James

-- 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