Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: why avoid & on function callby kcott (Archbishop) |
on Dec 27, 2020 at 19:14 UTC ( [id://11125810]=note: print w/replies, xml ) | Need Help?? |
"The placement of a sub is important only when you call it without parentheses, ..." I disagree with the inclusion of the word only in that statement. Here's a situation where placement is important when parentheses are used:
You can, of course, predeclare and leave the definition for later:
— Ken
In Section
Seekers of Perl Wisdom
|
|