Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Last index use in array slice

by GrandFather (Sage)
on Dec 03, 2012 at 03:33 UTC ( #1006778=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print join ', ', splice @{[split '', '1234567890']}, 5;
    
  2. or download this
    6, 7, 8, 9, 0
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006778]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2016-10-01 09:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (575 votes). Check out past polls.