Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by Anonyrnous Monk (Hermit)
on Feb 14, 2011 at 20:59 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://888067]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-19 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found