Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Print from array element to another array element

by choroba (Chancellor)
on Apr 07, 2013 at 10:02 UTC ( #1027349=note: print w/ replies, xml ) Need Help??

in reply to Print from array element to another array element

The problem is that the range operator .. is not recognised in double quotes. This should work, though:
print @array[3 .. $end], "\n";

It might be faster and easier, though, not to split the string at all and work with substr and length.

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2016-07-26 04:04 GMT
Find Nodes?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?

    Results (231 votes). Check out past polls.