Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: Re: Re: Re: Error::Simple

by broquaint (Abbot)
on Aug 20, 2003 at 13:56 UTC ( #285197=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Error::Simple
in thread use Error::Simple - can't be found in @INC

Right, firstly, Error::Simple is not a module it is a package that is defined in the file Error.pm. So SomeError.pm should look like
package MyError::SomeError; use Error; @ISA = qw/ Error::Simple /; 1;
Secondly, take a look at your error message - Can't locate MyErrors/SomeError.pm. Note the 's' after 'MyError', which would indicate that the code you're displaying isn't the exact code you're using.

Please see. perlmod and Error before going any further.
HTH

_________
broquaint

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://285197]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2020-12-01 06:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?