On Thu, 30 Sep 2004, Gavin Henry wrote:

> Roime bin Puniran said:
> > How can i rename any file using PERL?...Where should i start?..Where i
> > can find any tutorial?
> 
> using linux:
> 
> man mv
> 
> you can use a system() call or backticks ``

The question wasn't how to do this with Linux though, it was about how 
to use Perl. 

The message headers suggest that Roime is using Windows --

    Content-Type: text/plain;                                                          
       
        charset="Windows-1252"                                                         
       

-- so the other response about the rename command was appropriate.

Moreover, rename() is a basic part of Perl, so even on Linux there is no 
need to do this with a system call to the `mv` command.



-- 
Chris Devers

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to