Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Cost of list assignment -

by choroba (Abbot)
on Jan 31, 2013 at 09:34 UTC ( #1016267=note: print w/ replies, xml ) Need Help??


in reply to Cost of list assignment -

If you are getting paid for the number of lines, it costs you one line.

The real power of list assignment is

($x, $y) = ($y, $x);
No temporary variable!
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: Cost of list assignment -
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2014-10-02 12:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (56 votes), past polls