P is for Practical | |
PerlMonks |
Re: Is it ok to assign a popped value to a variable as shown.by hardburn (Abbot) |
on Dec 05, 2011 at 13:38 UTC ( [id://941847]=note: print w/replies, xml ) | Need Help?? |
Nothing wrong with it. In practice, you'll probably do this in some kind of loop, but this script is fine for showing the idea. "There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
In Section
Seekers of Perl Wisdom
|
|