Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: The Scalar Range Operator

by PipTigger (Hermit)
on May 31, 2016 at 15:32 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-20 05:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found