Hi. could someone please point me in the direction as to why this won't work., I looked at perldoc.com to see if i could find an answer to see if my code was wrong, but according to them it is correct. The code i am using is;
$file="test.txt";
chmod(0755, $file);
and the code they are showing is;
chmod(644, $file); # WRONG -- perl -w catches this
chmod(0644, $file); # right
Could anyone please help me out. I know how to run it via Net::FTP, but for some reason using the other code to do it on a local server won't work!
HELP!!!
Andy
webmaster@ace-installer.com
http://www.ace-installer.com
$file="test.txt";
chmod(0755, $file);
and the code they are showing is;
chmod(644, $file); # WRONG -- perl -w catches this
chmod(0644, $file); # right
Could anyone please help me out. I know how to run it via Net::FTP, but for some reason using the other code to do it on a local server won't work!
HELP!!!
Andy
webmaster@ace-installer.com
http://www.ace-installer.com