Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Tree::Nary Question

by toolic (Bishop)
on Mar 08, 2011 at 19:38 UTC ( [id://892066]=note: print w/replies, xml ) Need Help??


in reply to Tree::Nary Question

BrowserUk has shown us what the problem is.

I have a few other observations:

  • Those messages are warnings, not errors, which means that your code continues to execute despite problems.
  • It is good that you globally enabled warnings using -w because Tree::Nary does not have use warnings; in its .pm file (a bad thing).
  • Tree::Nary methods perform no input validation (also a bad thing).

Replies are listed 'Best First'.
Re^2: Tree::Nary Question
by Anonymous Monk on Mar 08, 2011 at 20:40 UTC
    Yeah, it was a total n00b mistake. Thanks guys!
Re^2: Tree::Nary Question
by ikegami (Patriarch) on Mar 08, 2011 at 20:52 UTC
    It should perform validation to catching things that are not errors? What?

      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.

        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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-24 04:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found