Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: parm#4 from caller == !"eval" ?by LanX (Saint) |
on Sep 12, 2017 at 23:13 UTC ( [id://1199242]=note: print w/replies, xml ) | Need Help?? |
Addendum to explain what the &x2 call does > Subroutines may be called recursively. If a subroutine is called using the & form, the argument list is optional, and if omitted, no @_ array is set up for the subroutine: the @_ array at the time of the call is visible to subroutine instead. This is an efficiency mechanism that new users may wish to avoid. Source perlsub
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|