Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: if-elsif weirdness

by leriksen (Curate)
on May 21, 2003 at 01:32 UTC ( #259641=note: print w/replies, xml ) Need Help??


in reply to Re: if-elsif weirdness
in thread if-elsif weirdness

well I want to know that a value I expect to be initialised is undefined, so turning off this specific warning wont happen.

But much more importantly, and even of concern to you, Zaxo, is I want to know where it is happening - the sample code is specifically designed(!) to provoke the error that the wrong line number is reported - the fact that the expression's are bogus is unimportant. Imagine how much time you, Zaxo, would waste if you looked for a warning reported on line 100, when the real cause is line 400. Or that the warning is reported correctly on one platform, but is misreported on another - is it one warning?two different ones?

I want information from the monks about the warning being reported on the incorrect line, not that the code to provoke the error is deficient in some unrelated way.

<rant_mode>off</rant_mode>

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (1)
As of 2021-08-01 15:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My primary motivation for participating at PerlMonks is: (Choices in context)








    Results (10 votes). Check out past polls.

    Notices?