Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: remove_tree dies even when trapped with eval

by polettix (Vicar)
on Jun 12, 2015 at 13:59 UTC ( #1130201=note: print w/replies, xml ) Need Help??


in reply to remove_tree dies even when trapped with eval

Looking at the code, I see no reason why you cannot trap the error.

Have you tried to see what's the error code that you get back from system when you use the workaround? Is the child process terminated due to some signal, and if yes by which one? See system for figuring out how to check this.

perl -ple'$_=reverse' <<<ti.xittelop@oivalf

Io ho capito... ma tu che hai detto?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2023-03-27 16:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (65 votes). Check out past polls.

    Notices?