John, ...

Thanks for your suggestions....I would like to take each old filename
('ex020525.log' or exyymmdd.log...) and output

'exyymmdd.new'  or even 'exyymmdd.log.new'


> How are the new file names defined?  Are they based on the old file
> names or something else?
> 
> open IN, $old_filename
>     or die "cannot open $old_filename for reading: $!";
> open OUT,">$newdir/$with_new_filename"
>     or die "cannot create $newdir/$with_new_filename: $!";
> 
> 
> John
> -- 
> use Perl;
> program
> fulfillment
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to