Re: Perl Scripting problem - please help!
From: Felix Geerinckx (felix.geerinckx_at_gmail.com)
Date: 03/17/05
- Next message: Jim Gibson: "Re: Executing Shell"
- Previous message: Mark: "Perl Scripting problem - please help!"
- In reply to: Mark: "Perl Scripting problem - please help!"
- Next in thread: Jim Gibson: "Re: Perl Scripting problem - please help!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Jim Gibson: "Re: Executing Shell"
- Previous message: Mark: "Perl Scripting problem - please help!"
- In reply to: Mark: "Perl Scripting problem - please help!"
- Next in thread: Jim Gibson: "Re: Perl Scripting problem - please help!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|