|
|
| Come for the quick hacks, stay for the epiphanies. | |
| PerlMonks |
Re: Using the file handle created by File::Temp to set specific file permissionsby dave_the_m (Monsignor) |
| on Dec 10, 2021 at 17:54 UTC ( [id://11139559]=note: print w/replies, xml ) | Need Help?? |
|
As the documentation for perl's chmod() function says, on platforms that support it, you can pass a file handle rather than a filename to chmod().
Dave.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||