in reply to use Error::Simple - can't be found in @INC
Because Error::Simple is defined within Error.pm you just need to do
HTH
and you can be along your merry way e.guse Error;
use Error ':try'; try { throw Error::Simple("Holy Smokes!"); } catch Error::Simple with { warn "ack - $_[0]"; }; __output__ ack - Holy Smokes! at - line 5.
HTH
_________
broquaint
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Error::Simple
by hotshot (Prior) on Aug 20, 2003 at 12:56 UTC | |
by broquaint (Abbot) on Aug 20, 2003 at 13:02 UTC | |
by hotshot (Prior) on Aug 20, 2003 at 13:28 UTC | |
by broquaint (Abbot) on Aug 20, 2003 at 13:56 UTC | |
by tcf22 (Priest) on Aug 20, 2003 at 13:35 UTC | |
by hotshot (Prior) on Aug 20, 2003 at 13:47 UTC |
In Section
Seekers of Perl Wisdom