Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by hotshot (Prior)
on Aug 20, 2003 at 13:28 UTC ( #285182=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package MyError::SomeError.pm;
    
    ...
    @ISA = qw(Error::Simple);
    
    1;
    
  2. or download this
    #!/usr/bin/perl -w
    
    ...
    } catch MyError::SomeError with {
      print "Caught it\n";
    };
    
  3. or download this
    Can't locate MyErrors/SomeError.pm in @INC (@INC contains: /usr/lib/pe
    +rl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5
    +/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8
    +.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-lin
    +ux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendo
    +r_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.
    +8.0) at MyError/SomeError.pm line3.
    BEGIN failed--compilation aborted at MyError/SomeError.pm line3.
    BEGIN failed--compilation aborted at ./test.pl line 4.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2020-10-25 07:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (249 votes). Check out past polls.

    Notices?