in reply to Re: How to know if a perl script is put in the background
in thread How to know if a perl script is put in the background
1 #!/usr/bin/perl 2 3 use strict; 4 use warnings; 5 6 print "# Start script\n"; 7 print "\n -> Waiting 2 seconds\n"; 8 sleep(2); 9 print "\n -> Waiting 2 seconds\n"; 10 sleep(2); 11 print "# Exiting .. \n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to know if a perl script is put in the background
by almut (Canon) on Nov 18, 2008 at 17:12 UTC |