in reply to Re: Send Config::General errors to Log4Perl
in thread Send Config::General errors to Log4Perl

Thank you, I had forgotten I could do that.
-- David
  • Comment on Re^2: Send Config::General errors to Log4Perl

Replies are listed 'Best First'.
Re^3: Send Config::General errors to Log4Perl
by DavidFerrington (Acolyte) on Jan 29, 2010 at 11:59 UTC
    In fact it was simpler - just call the new method of Config::General in an eval block and then check $@ !

    but this got me looking at __DIE__ and I have a use for that. I can trap the message etc. but other than doing an exit from my routine, I can't find a way of stopping Perl printing the die message.

    is that possible or is exit the right way ?

    -- David