Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by broquaint (Abbot)
on Aug 20, 2003 at 13:56 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://285197]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-25 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found