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

Re^5: If you believe in Lists in Scalar Context, Clap your Hands

by JavaFan (Canon)
on Oct 24, 2008 at 12:26 UTC ( #719331=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @a = ()[3, 5, 6];
    @b = @c[3, 5, 6];
    ...
    __END__
    0
    3
    
  2. or download this
    $r = ($a, $b) = 0 .. 11;
    
  3. or download this
    sassign(\$r, scalar lassign([\$a, \$b], range (0, 11)))
    sub lassign {
    ...
        $$rhs = $lhs;
        $$rhs;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://719331]
help
Chatterbox?
[karlgoethebier]: shmem: yes - i f you manage it to get on the bike. and pray if you must stop...
[shmem]: in the french alpes, at the end of a gravel road, we had a beer at a hut - and heard an enduro coming up.
[shmem]: not by the road, but from there below where you wouldn't want to walk.
[shmem]: the biker stopped the machine at the table and took off his helmet.
[shmem]: long white hair, long beard the same, then he proceeded to get off the bike
[shmem]: saying "biking itself isn't that much, but getting up and down - hell!"
[shmem]: up and down: on and off the bike, of course

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2017-06-25 20:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (570 votes). Check out past polls.