Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: pls help me to implement try-catch-throws without using any exception handling

by JAMBOID (Sexton)
on Aug 30, 2004 at 22:52 UTC ( [id://387059]=note: print w/replies, xml ) Need Help??


in reply to Re: pls help me to implement try-catch-throws without using any exception handling
in thread pls help me to implement try-catch-throws without using any exception handling

I think Error (perldoc Error) comes with perl (does not require going to CPAN and installing) if that's what you're worried about. Eval may be easier for simple cases though.
  • Comment on Re^2: pls help me to implement try-catch-throws without using any exception handling

Replies are listed 'Best First'.
Re^3: pls help me to implement try-catch-throws without using any exception handling
by PodMaster (Abbot) on Aug 31, 2004 at 03:54 UTC
    Error is not a core module. Errno is, but not Error. See Module::CoreList.

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://387059]
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-19 02:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found