I've written a pipeline to process some data. The pipeline calls upon some in house developed Perl codes, some third party programs and some system functions to process input file generated by some other third party program.
The system can crash for various reasons, if input file is corrupt, or if those third party programs generate some error because missing data etc.
I wish to run the Perl pipeline in such away that given a list of input files the pipeline would not crash if any of these input files cause a problem and the rest of the good files be processed hassle free.
So far I'm running the pipeline script in a for loop for each single input file using system call and config file
foreach my $f(@Folders){ system "PipeLine.pm $f my.Config.ini"; }
What kind of exception handling shall I use?
In reply to Perl Pipeline exception handling by perl_diver
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |