Re: Running a Perl script from another Perl script
- From: Joe Smith <joe@xxxxxxxxx>
- Date: Tue, 02 Aug 2005 13:06:18 -0700
Bob MacBob wrote:
select the correct files to be processed, but I'm not sure how to pass each file over to parser.pl. I also need it to wait until parser.pl has finished processing a file before it passes it another file to process.
1) Post to comp.lang.perl.misc instead of this group (comp.lang.perl).
2a) Use system() for one file at a time.
system './parser.pl',$_ foreach @files;
2b) Use system() for all files at once (assuming that parser.pl is
written to handle multiple arguments in @ARGV).system './parser.pl,@files;
-Joe .
- References:
- Running a Perl script from another Perl script
- From: Bob MacBob
- Running a Perl script from another Perl script
- Prev by Date: Running a Perl script from another Perl script
- Next by Date: Re: Running a Perl script from another Perl script
- Previous by thread: Running a Perl script from another Perl script
- Next by thread: Re: Running a Perl script from another Perl script
- Index(es):