in reply to Re^3: The & prototype and code references in scalars.
in thread The & prototype and code references in scalars.
Thanks for the reference. I think I must have been away that day cos I do not remember that thread at all. And looking at my posting history, I didn't post anything that entire week.
With regard to \&{ $coderef } versus \&$coderef: I discovered long ago that
Hence, the 2-char longer (4 if you count my preferred whitespacing) form has no downsides and benefits from the extra clarity when the scalar being dereferenced comes from a compound source. Plus I do not have to try and remember when I have to use the longer form and when I can get away with the shorter. And I like consistency.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: The & prototype and code references in scalars.
by LanX (Saint) on Feb 18, 2010 at 00:25 UTC |