Think about Loose Coupling | |
PerlMonks |
Re^3: What is (a => b => c) ?by ikegami (Patriarch) |
on Mar 27, 2015 at 18:17 UTC ( [id://1121547]=note: print w/replies, xml ) | Need Help?? |
Not at all. Prepending & to a sub call causes the sub call to ignore the sub's prototype. Prepending & to a sub call with no parameter list specified (not even ()) causes the sub call to ignore the sub's prototype, and forgoes the creation of a localized @_. These are not thing you should ever need to do. Because it must be followed by a sub call, & has the side effect of forcing the following word to be treated as the name of a sub, but that's just a side effect.
In Section
Seekers of Perl Wisdom
|
|