We don't bite newbies here... much | |
PerlMonks |
Re: Getopt::Long subroutine usageby William G. Davis (Friar) |
on Jan 05, 2005 at 02:26 UTC ( [id://419500]=note: print w/replies, xml ) | Need Help?? |
The sub {...} thing returns a reference to an anonymous subroutine. You can take a reference to any subroutine, though, using the backslash operator and the ampersand, like this:
See perlreftut and perlref for more information.
In Section
Seekers of Perl Wisdom
|
|