[NMLUG] cool perl script?

Ed Brown nmlug@swcp.com
Tue, 13 Nov 2001 10:44:16 -0700


"mv" is not a perl command, you would need to call it as a system
command. "rename" is the built-in perl function you want. You do need
a comma between arguments though, like :
rename oldfilename, newfilename
-Ed


"Robbins, Wesley L" wrote:

> Thanks this was perfect.
> I honestly did not know 'mv file1 file2';
> was how to call a file in perl. I expected
> it to be System("Command",$Vars,$SomeNumber);
> This is from years of mindless VC++ and VB coding
> does to a person ;)
>
> ------------------------------------------------------
> To UNSUBSCRIBE send a message to nmlug-request@swcp.com
> with only the word unsubscribe in the body.  More
> information can be found at www.nmlug.org/info.html
> -----------------------------------------------------

------------------------------------------------------
To UNSUBSCRIBE send a message to nmlug-request@swcp.com
with only the word unsubscribe in the body.  More
information can be found at www.nmlug.org/info.html
-----------------------------------------------------