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