Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Avoiding vivification with array slice

by jbert (Priest)
on Sep 09, 2008 at 14:45 UTC ( [id://710104]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # This *doesn't* vivify $a[3,4,5]
    @b = map { $a[$_] } (0..5);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-20 09:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found