Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Splicing an array.

by reptile (Monk)
on Aug 14, 2000 at 02:44 UTC ( #27700=note: print w/ replies, xml ) Need Help??


in reply to Splicing an array.

Well, first of all, "2,3..7" is the same as "2..7", but ignoring that, this works:

@array[2,(3..7)];


Comment on Re: Splicing an array.
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2014-10-25 01:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (139 votes), past polls