Problems? Is your data what you think it is? | |
PerlMonks |
Re^3: why avoid & on function call (pre-declaration)by Bod (Parson) |
on Dec 27, 2020 at 19:54 UTC ( [id://11125818]=note: print w/replies, xml ) | Need Help?? |
A pre-declaration placeholder can be done by a body-less sub NAME; Thanks LanX - I didn't know this was an option. Although in the past I have habitually added an ampersand which I have been doing less and less over the last year or so in favour of always applying parenthesis. So I don't envisage me using this pre-declaration very much but it's good to know it exists.
In Section
Seekers of Perl Wisdom
|
|