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

Re^2: regex error puzzle (line no)

by tye (Sage)
on May 09, 2006 at 17:53 UTC ( [id://548287]=note: print w/replies, xml ) Need Help??


in reply to Re: regex error puzzle
in thread regex error puzzle

perl reports any error on line 10, the first line of the if block

No, line 10 isn't the first line of the 'if' block. Perl does report misleading line numbers for some errors in 'if' blocks, but this is restricted to saying that errors in an 'elsif' conditional expression occurred on the line of the matching 'if'.

- tye        

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 19:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found