As noted above there is almost no reason to do the chmod at all: unless you've got a very strange system administrator, you won't be able to change what you can't read.chmod(0777,$currentlog) or die "Can't change permissions: $!"
In reply to Re: Perl Permissions
by Joost
in thread Perl Permissions
by blundell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |