Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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)];

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: (6)
As of 2016-06-25 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (323 votes). Check out past polls.