![]() |
|
more useful options | |
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?? |
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.
In Section
Seekers of Perl Wisdom
|
|