Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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.

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2017-10-22 04:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (272 votes). Check out past polls.

    Notices?