Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2016-07-28 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (253 votes). Check out past polls.