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!!!!