Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Cost of list assignment -

by choroba (Bishop)
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!
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016267]
help
Chatterbox?
[Discipulus]: good morning nuns and monks!

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2018-06-25 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?