Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Why doesn't chmod work on this lexical filehandle?

by Anonyrnous Monk (Hermit)
on Feb 14, 2011 at 20:59 UTC ( #888067=note: print w/ replies, xml ) Need Help??


in reply to Why doesn't chmod work on this lexical filehandle?

You're calling chmod on a closed file handle. This doesn't work (it doesn't work with non-lexical file handles either).  Put the close after the chmod.


Comment on Re: Why doesn't chmod work on this lexical filehandle?
Select or Download Code
Replies are listed 'Best First'.
Re^2: Why doesn't chmod work on this lexical filehandle?
by williff (Initiate) on Feb 14, 2011 at 22:00 UTC
    thank you, and as promising as it seemed, it did not alter the chmod response.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (12)
As of 2015-07-31 18:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (280 votes), past polls