Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: How to hide exit and die

by golux (Chaplain)
on Jan 14, 2015 at 18:43 UTC ( [id://1113255]=note: print w/replies, xml ) Need Help??


in reply to How to hide exit and die

Hi mnooning,

Try "CORE::exit". For example:

use strict; use warnings; use Tk; my $etriped = 'e' . 'x' . 'i' . 't'; print "1\n"; eval ("CORE::$etriped"); print "Error: $@\n"; print "2\n"; # Reached if "use Tk;" is present.
say  substr+lc crypt(qw $i3 SI$),4,5

Replies are listed 'Best First'.
Re^2: How to hide exit and die
by Anonymous Monk on Jan 14, 2015 at 19:14 UTC
    It works! Thanks.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-24 07:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found