Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Is it ok to assign a popped value to a variable as shown.

by jmcnamara (Monsignor)
on Dec 05, 2011 at 13:41 UTC ( #941848=note: print w/ replies, xml ) Need Help??


in reply to Is it ok to assign a popped value to a variable as shown.

That is perfectly acceptable syntax. There are (as usual) other ways to do it but this is the intended function of pop() so use it with confidence.

--
John.


Comment on Re: Is it ok to assign a popped value to a variable as shown.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2014-08-23 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (172 votes), past polls