Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Using the file handle created by File::Temp to set specific file permissions

by dave_the_m (Monsignor)
on Dec 10, 2021 at 17:54 UTC ( [id://11139559]=note: print w/replies, xml ) Need Help??


in reply to Using the file handle created by File::Temp to set specific file permissions

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.

  • Comment on Re: Using the file handle created by File::Temp to set specific file permissions

Replies are listed 'Best First'.
Re^2: Using the file handle created by File::Temp to set specific file permissions
by mldvx4 (Friar) on Dec 11, 2021 at 06:04 UTC

    Thanks. I had missed that. Both chmod and chown can process file handles.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11139559]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2024-04-25 04:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found