Hello , I am using the system command to excute a command inside my script , however I am trying to use an array inside that system command ,,, forexmaple , the command line is :
my $firstbuild = hi.bld
my @otherbuilds = q( low.bld hello.bld cow.bld );
system(qq(C:/execu $firstbuild @otherbuilds file.c));
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 this
system(qq(C:/execu $firstbuild low.bld hello.bld cow.bld 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 hints