DS has asked for the wisdom of the Perl Monks concerning the following question:
knowing that the array @otherbuilds could have more or less builds than three. so I am trying to find a way to do somthing like thismy $firstbuild = hi.bld my @otherbuilds = q( low.bld hello.bld cow.bld ); system(qq(C:/execu $firstbuild @otherbuilds file.c));
somehow read the array index and list them in an order .. I tried a loop within that command but system didn't like it . what do yall think .. thanks for hintssystem(qq(C:/execu $firstbuild low.bld hello.bld cow.bld file.c));
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: loop inside system command
by stephen (Priest) on Jul 17, 2002 at 14:14 UTC | |
Re: loop inside system command
by abaxaba (Hermit) on Jul 17, 2002 at 14:18 UTC | |
by DS (Acolyte) on Jul 17, 2002 at 14:24 UTC | |
Re: loop inside system command
by cidaris (Friar) on Jul 17, 2002 at 14:18 UTC | |
by RMGir (Prior) on Jul 17, 2002 at 15:07 UTC |