Welcome to the Monastery | |
PerlMonks |
Re^2: Trouble getting size of list returned from subby TomDLux (Vicar) |
on Nov 30, 2012 at 02:31 UTC ( [id://1006385]=note: print w/replies, xml ) | Need Help?? |
You can also fold the variable into the same line as the print:
But I wouldn't say that's an improvement. In fact, I would tuck all this away into a routine, to hide details and leave only the high-level purpose. To learn more about this ( the goatse operator ) and other fun, little-known operators, check out secret perl operators As Occam said: Entia non sunt multiplicanda praeter necessitatem.
In Section
Seekers of Perl Wisdom
|
|