Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Variable triggers global destruction hang

by ikegami (Patriarch)
on Sep 12, 2009 at 04:21 UTC ( [id://794886]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -e'open my $fh, "cat |" or die $!'
    <waits forever>
    
    $ perl -e'open our $fh, "cat |" or die $!'
    <returns immediately>
    
  2. or download this
    $ perl -e'open our $fh, "cat |" or die $!; close($fh)'
    <waits forever>
    
  3. or download this
    $ perl -e'my $pid = open my $fh, "cat |" or die $!; kill TERM => $pid'
    <returns immediately>
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-03-28 16:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found