Re: Perl Scripting problem - please help!

From: Felix Geerinckx (felix.geerinckx_at_gmail.com)
Date: 03/17/05


Date: Thu, 17 Mar 2005 18:28:35 GMT

On 17/03/2005, Mark wrote:
             
> ...
> rename("/var/www/html/reports/shops/$fnames","/var/www/html/reports/sh
> ops/ $newfile/$newpdf"); print "\n";
> ...
> I cannot get the rename function to work even if I use the same
> directory. I don't get any errors and the file permissions are set
> correctly on the files.

1) Don't post here - this newsgroup does not exist
2) What does
        rename($from, $to) or warn("cannot rename '$from': $!");
   tell you?

-- 
felix


Relevant Pages

  • Re: Perl Scripting problem - please help
    ... > I cannot get the rename function to work even if I use the same ... I don't get any errors and the file permissions are set ... the indentation in front of the second ... The problem may also be that the $newfile directory component does not ...
    (comp.lang.perl.misc)
  • File Permissions
    ... Just wondering if there is a way to add file permissions ... to folders and files without adding a pc to a domain. ... It is a standalone pc at home running windows xp and I ...
    (microsoft.public.windowsxp.security_admin)