> Take a look at Path::Class to manipulate relative paths and File::Path to
> create complete paths if the don't exist. The code below creates a new
> absolute path for the source and destination directories and then, within
> File::Find's Wanted routine, calculates the contents of $File::Find::name
> relative to the source directory and then absolutely within the destination
> directory. The result is the full path to the new file.
> 
> I've put code in to create the new path, but nothing to edit the files. All
> you need to do is open $file for reading and $copy for writing.


It does, Rob, thanks!  This belongs on a "very helpful perl code" page
somewhere.

Thanks again.  =)

- Bryan



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to