in reply to call multiple perl scripts from within a perl scripts ?

As I can see in your script you're emptying the array and reset it for the current extracted files only @filelist=<*.txt>; .. And in the final step of each run you are making sure those files are removed unlink @filelist;

I would suggest that you re-write this script in a proper way, with some good comments.

And you don't really need to run 4 separate files ... you can write 4 subroutines to process whatever you want.

Tell us what you want to accomplish and you might get better help OR at least some good suggestions.

Replies are listed 'Best First'.
Re^2: call multiple perl scripts from within a perl scripts ?
by Anonymous Monk on Aug 04, 2010 at 21:38 UTC
    I think writing 4 sub routines is a great idea rather than 4 scripts which work on the same data set.I will work on that. Thanks for the hint!!