Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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?
[karlgoethebier]: i wonder now it will be with my glasses.
[Discipulus]: Milan Perl Mongers seems frozen at 2009
[Discipulus]: karl you dont shoot with eyes, you shoot with the soul
[jkva]: Reminds me of Guardians of the Galaxy
[erix]: OT++: /me came across an osprey (=visarend (=Fischadler)) just now
[erix]: (osprey are pretty rare in NL)
[jkva]: erix whereabouts?

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2017-10-20 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (260 votes). Check out past polls.

    Notices?