On Tue, 4 Oct 2005, Dan Klose wrote: > If I have a script, in my case on my linux machine, and I want to run > that script using another script then I use the `` however you can use: > > #!/usr/bin/perl > > system("./my-script <input>")
Why on earth would you do that? > #!/usr/bin/perl > > `./my_script1 input1`; > `./my_script2 output_of_script_1`; > `./my_script3 output_of_script_2`; I repeat: why on earth would you do that? #!/bin/sh cd /some/dir ./my-script1 input1 | ./my-script2 | ./my-script3 Perl is great and all, but sometimes it's no substitute for a two line shell script. :-) -- Chris Devers CHï/ÉJgçÉ|þ
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>