S
SaltyBall
Hi,
I am new to perl, I have write a simple "while loop" to call a perl
modules to do loop something, sometimes the modules generate error and
it exit the script completely.
How can I collect the error message and run the modules again if error
occur?
to summarize:
(current situation)
while something;
{ call the modules (it breaks when error occur) ; }
(improvement)
while something;
{call the modules;
=>if the modules fail, call it again;
}
I am new to perl, I have write a simple "while loop" to call a perl
modules to do loop something, sometimes the modules generate error and
it exit the script completely.
How can I collect the error message and run the modules again if error
occur?
to summarize:
(current situation)
while something;
{ call the modules (it breaks when error occur) ; }
(improvement)
while something;
{call the modules;
=>if the modules fail, call it again;
}