Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 surveying the Monastery: (4)
As of 2014-07-13 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (252 votes), past polls