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

Re: perl chmod tells me file does not exist (but it does)

by stephen (Priest)
on May 17, 2013 at 22:07 UTC ( #1034028=note: print w/replies, xml ) Need Help??


in reply to perl chmod tells me file does not exist (but it does)

It should be:
chmod( oct($perms), $target_file );

stephen

Replies are listed 'Best First'.
Re^2: perl chmod tells me file does not exist (but it does)
by davidfilmer (Acolyte) on May 17, 2013 at 22:10 UTC
    Holy crap - is it really that simple and that stupid? I got the args mixed up??? Gaaaa!!!! Thanks!!!!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2020-06-03 09:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (22 votes). Check out past polls.

    Notices?