Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Last index use in array slice

by LanX (Chancellor)
on Dec 03, 2012 at 03:37 UTC ( #1006779=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @array = split /\n/, $object->get_array;
    my @slice = @array[$index .. $#array];
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006779]
help
Chatterbox?
[karlgoethebier]: james28909: See also Class::Tiny and Role::Tiny

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2017-05-25 16:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?