in reply to Replacing warn/die with carp/croak?

Without trying to sound too much like a mindless fool, why worry about it if it is in Perl's core set of modules? I /like/ when Carp is in code I see because it tells me that the author /tried/ to do the right thing. I certainly don't use it all of the time and don't know about a fraction of its features, but I if someone is concerned about creating quality Perl code then I think it is very important to use - even if as a simple replacement for warn or die.

Replies are listed 'Best First'.
Re^2: Replacing warn/die with carp/croak?
by dragonchild (Archbishop) on Oct 04, 2007 at 16:28 UTC
    Why do you equate using Carp with "doing the right thing"? That's what I'm trying to get at.

    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?