I'm trying to call a shell script for every file uploaded using the system() function:
Code: Select all
for my $f (@files)
{
my @args;
@args = ("command", "arg1", "arg2");
system(@args);
}
Am I missing something? Is there a correct way to perform this?
Thanks
Giorgio