Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 having an uproarious good time at the Monastery: (3)
As of 2016-10-01 03:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (574 votes). Check out past polls.