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
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.
___