Hi Monks,
I have strange problem with the system command in my perl script.
I have a perl script with system command in the file a.pl
e.g:
#!/usr/bin/perl
system("ls -lrt > a.out");
If I execute the script directly, as ./a.pl, it displays the result. However, if invoke the script with "at" command, it doesnt turn up. I mean it wouldnt generate the output file.
I executed the command like this
#at -f /tmp/a.pl now
Please let me know where it could go wrong..
Thanks In Advance,
Thanks,
Gulla