XP is just a number | |
PerlMonks |
Re^2: Difference between this array assignment and pushby naikonta (Curate) |
on May 16, 2007 at 14:59 UTC ( [id://615798]=note: print w/replies, xml ) | Need Help?? |
Interesting analysis, and facts on $1 give me new lesson. I know that $1 and friends are special, but that's it. With the context provided, I obviously prefer the assignment technique. The only reason I would go with push and while is perhaps, if I needed to check $1 againsts some condition prior to deciding to push it to the target array.
Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!
In Section
Seekers of Perl Wisdom
|
|