P is for Practical | |
PerlMonks |
Re^2: Bare BLOCK vrs. grep BLOCKby mr_mischief (Monsignor) |
on Jan 15, 2018 at 21:34 UTC ( [id://1207315]=note: print w/replies, xml ) | Need Help?? |
In perlsub subroutine prototypes are discussed. They are seldom needed, but a grep-like subroutine is one of the examples, and is shown using &@ as a prototype. This means to expect a subroutine and then a list.
In Section
Seekers of Perl Wisdom
|
|