Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Difference between this array assignment and push

by naikonta (Curate)
on May 16, 2007 at 14:59 UTC ( [id://615798]=note: print w/replies, xml ) Need Help??


in reply to Re: Difference between this array assignment and push
in thread Difference between this array assignment and push

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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://615798]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-25 13:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found