Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Apply mtime and atime to new file

by gjb (Vicar)
on Dec 08, 2003 at 15:53 UTC ( #313118=note: print w/replies, xml ) Need Help??


in reply to Apply mtime and atime to new file

Don't you want

utime($atime, $mtime, $found_file);
rather than operating on $new_str which you've just renamed?

Hope this helps, -gjb-