COLLINEAU wrote: > > I 've written the code below. > There is a problem with "rename": i have the message: "permission denied". > > Nevertheless, I have all the rights. > > What 's happen ?
Just a guess but it could be that your OS will not let you rename a file that is open. You don't have to open the file to stat() it, you can use the file name. And instead of using stat() you might want to use the -M function (perldoc -f -M) John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]