in reply to Re^5: Can I add methods to an existing object?
in thread Can I add methods to an existing object?

Is it bad to look for ways to avoid warnings without writing "no warnings?"
Yes, when the only point of looking is to avoid warnings. When you find yourself thinking "I know what this code is doing, and I want it to do that, but 'use warnings' bitches at me," you should avoid "use warnings."
  • Comment on Re^6: Can I add methods to an existing object?

Replies are listed 'Best First'.
Re^7: Can I add methods to an existing object?
by Jenda (Abbot) on Apr 04, 2009 at 13:46 UTC

    I'd rather say "... you should use "no warnings xxxx" in a small block around that code". Apart from the "uninitialized" warning. That one is IMNSHO pointless and annoying and should be turned off everywhere.

Re^7: Can I add methods to an existing object?
by linuxer (Curate) on Apr 03, 2009 at 17:47 UTC

    Ok, I see that point. Thank you.