Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Run and kill external programm after x seconds

by ww (Archbishop)
on Nov 22, 2016 at 16:30 UTC ( #1176351=note: print w/replies, xml ) Need Help??


in reply to Re^2: Run and kill external programm after x seconds
in thread Run and kill external programm after x seconds

So would it not work to reverse the logic of the m/.../ or -- at the 60 second mark -- to simply test for a void as below?

D:\_scratch>perl -e "my $foo=''; if ($foo =~//){ print 'found nothing' +;} exit();" found nothing D:\_scratch>

++$anecdote ne $data

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1176351]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2018-07-22 11:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (454 votes). Check out past polls.

    Notices?