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

Re^5: Dying for a Good Japh

by tweetiepooh (Hermit)
on Feb 02, 2006 at 10:35 UTC ( #527290=note: print w/replies, xml ) Need Help??

in reply to Re^4: Dying for a Good Japh
in thread Dying for a Good Japh

True but I'd already taken out the eval.

I guess it depends on what else you are doing. The eval stops the module load fail from dieing. This allows other lines to be added to the program which will run. When the die is hit the JAPH prints.
... eval {require "JAPH"}; print "Hello mum!\n"; die OUTPUT Hello mum! Can't locate JAPH in @INC ... ... ) at line xx ... propagated at line yy.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://527290]
[marto]: think targeted ads
[marto]: "your house is so big, consider product XYZ", "You clean a lot, consider product ABC"
Discipulus your house is so small, accept dollars from nigeria
[marto]: Discipulus, or space saving products, that sort of thing

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2017-07-26 12:05 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (390 votes). Check out past polls.