I have a CGI?PERL script that takes input from a form. The obtained entities are then used to declare 4 commands that need to be run, defined as $command1, $command2, $command3 and $command4.
I then put these commands in an array
my @programs($$command1, $command2, $command3, $command4);
and open them using a filehandle
open(@programs)
{
open(A,"$_")||die;
while(A)
{
print;
}
close(A);
}
exit:
However the above program does not run each command. Does any1 see a mistake?