Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by demichi (Beadle)
on Nov 22, 2016 at 15:19 UTC ( [id://1176344] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    }
    
    print "check is now $check\n";
    
  2. or download this
    use strict;
    use warnings;
    ...
        sleep 1;
        print ".\n";
    }