Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: how can I collect x many elements from an array?

by japhy (Canon)
on Mar 09, 2001 at 04:50 UTC ( [id://63141]=note: print w/replies, xml ) Need Help??


in reply to how can I collect x many elements from an array?

Use an array slice.
($x,@y[0..32],$z) = function();

Replies are listed 'Best First'.
Re: Answer: how can I collect x many elements from an array?
by rfb (Sexton) on Mar 09, 2001 at 04:54 UTC
    slick,
    so that will work the other way around when I have to apply it back to pack?
    -rfb

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 11:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found