Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Error messages point to wrong line number in if-elsif construct

by ikegami (Patriarch)
on Dec 21, 2004 at 22:31 UTC ( [id://416644]=note: print w/replies, xml ) Need Help??


in reply to Error messages point to wrong line number in if-elsif construct

elsif doesn't start a statement. It's part of an if statement. In this case, it's telling you that the error is in the statement that started at line 7. I don't know why it's not more precise, but I'm sure changing it would involve extreme changes to perl's guts.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-19 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found