Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Tree::Nary Question

by Dandello (Scribe)
on Mar 08, 2011 at 22:04 UTC ( #892093=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Tree::Nary Question
in thread Tree::Nary Question

Tree::Nary is not checking that the information being passed to it is both valid and not dangerous to run.

While I'm not familiar with this module, it's always good to have the information being passed on to be checked for taint and validity.


Comment on Re^3: Tree::Nary Question
Re^4: Tree::Nary Question
by ikegami (Pope) on Mar 09, 2011 at 00:19 UTC
    It's good cause it catches errors, right? My point was that it's silly to say the messages that result from such errors aren't error messages.

      Well, there are 'error' errors that stop the script - like mismatched brackets - then there are 'warning' errors that tell you something's wrong, but not bad enough to crash the program. Warnings are things you need to know about, but Perl will try to 'guess' what was meant or needed. In this case, the module needed three parameters and warned when there were only two - but it still kept going. But with the missing parameter, it couldn't give the proper result as the value it used to keep going with would have been 0 or null.

      So yes, it's an 'error' but a non-fatal one.

        Exactly, but for some reason, people have been going out of their way to say that errors that aren't fatal aren't errors. I was just addressing an instance of this.

        Some errors are fatal, and some errors produces warnings. Warnings are also produced spuriously, which is an error in of itself. Saying they're not errors is just plain wrong.

        Exactly, but for some reason, people have been going out of their way to say that errors that aren't fatal aren't errors. I was just addressing an instance of this.

        Some errors are fatal, and some errors produces warnings. Warnings are also produced spuriously, which is an error in of itself. Saying they're not errors is just plain wrong.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2014-10-26 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (151 votes), past polls