1. Don't use system commands on filehandles, but on actual files (file names);
2. Use the internal Perl chmod function rather than a system call;
3. The internal system call requires an octal number for permissions. So try something like:
chmod 0777, $outfile;
In reply to Re: Change permissions after file is created
by Laurent_R
in thread Change permissions after file is created
by ddrew78
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |