Without seeing code, the list will be guessing. As fully as you defined the setup for the writing of the file, then you will need to qualify that much to do the rename.
 
        What does the error say? ( ie, if ( ! rename(old,new) ) { print $! } )
 
Wags ;) ps a code snippet portion is almost a must for people to repsond.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Gerald Preston
Sent: Tuesday, March 21, 2006 10:46
To: [email protected]
Subject: renaming files in XP

Hi!

 

I am using version 5.8.7 on XP Pro.  I am trying a very simple thing, that is I am trying to rename a file “rename $old_name, $new_name”.  I know this a not biggie but what am I doing wrong.

 

I am not local directory that I am changing the file, is this the problem?

 

Thanks,

 

Jerry

 

 



*******************************************************
This message contains information that is confidential
and proprietary to FedEx Freight or its affiliates.
It is intended only for the recipient named and for
the express purpose(s) described therein.
Any other use is prohibited.
*******************************************************
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to