RE: [Perl-unix-users] How to make a delay before a instruction.

2001-05-07 Thread Park Jong-sun
Hi~ To make a delay, I think, use 'sleep' function. Here is example. #!/usr/bin/perl -w print "abcde\n"; bla bla bla.. sleep 5;#sleep in 5 seconds. print "bcde\n"; Printing "abcde bla bla...", script sleep in 5 seconds, and print "bcde:. if you want to hand

[Perl-unix-users] How to make a delay before a instruction.

2001-05-07 Thread Ricardo Cumberbatch L.
Hi everybody, I try to make a script, but a need to make a delay before a instuction this is a example: close(Aprob); print Aprob @new; (I what to make the delay befor this next instruction) open( mail| /usr/bin/mail bla bla bla ... Thanks for the help R.C.L. ___