in reply to Re: Perl Style: About error messges opening files
in thread Perl Style: About error messges opening files
A line number in the program that figured out the file wasn't there doesn't do much for me.
Well, my logging system automatically graduates die into confess so i actually get a full back trace. And here at least usually the reason a file isnt there is becuase somebody told the program to operate on something that it shouldnt. :-) Rarely is it due to a failure on the upstream side.
BTW, the problem I have with something like what you describe here is that it wont be able to show the filename involved will it? At least not without overriding open.
First they ignore you, then they laugh at you, then they fight you, then you win.
-- Gandhi
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl Style: About error messges opening files
by Abigail-II (Bishop) on Apr 27, 2004 at 11:53 UTC | |
by demerphq (Chancellor) on Apr 27, 2004 at 12:06 UTC | |
by Abigail-II (Bishop) on Apr 27, 2004 at 12:16 UTC | |
by flyingmoose (Priest) on Apr 27, 2004 at 14:17 UTC | |
|