Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2017-03-25 22:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (313 votes). Check out past polls.