in reply to Using references to subroutines
See. perlsub for more info.my $anonsub = sub { print "anonymous sub(@_)\n" }; $anonsub->("deref operator"); &$anonsub("sigil deref"); __output__ anonymous sub(deref operator) anonymous sub(sigil deref)
_________
broquaint
|
|---|