From the docs I understand that it sets the permissions to 0666. How can I make it have exec bits?sub test { my ($file) = @_; open(my $fh, '>>', "$file") or die("failed to open file"); # prints content close($fh); }
In reply to How to open file while giving exec permissions? by ovedpo15
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |