Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-25 14:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found