Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: The Scalar Range Operator

by PipTigger (Hermit)
on May 31, 2016 at 15:32 UTC ( #1164606=note: print w/replies, xml ) Need Help??

in reply to The Scalar Range Operator

Hi pbeckingham.

Thank you for posting such an informative explanation!

After reading and running your examples, I've noticed two minor discrepancies between the descriptions. These might cause some confusion (especially for anyone who can't easily run the examples).

In your first section on 'Numeric Values' the very next sentence after the program listing says "second and third line of the data" which should include "fourth" also (to match the just preceding __OUTPUT__ block).

Then in your third section on 'Numeric and Regular Expressions' the second sentence says "the lines from $. == 1" which should be 2 like the $left side of the following range operator.

I hope that helps a bit.

PeaceOut - Pip@CPAN.Org

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1164606]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2017-12-18 05:27 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (467 votes). Check out past polls.