--On Mittwoch, 25. Juli 2001 12:45 -0800 Michael Fowler
<[EMAIL PROTECTED]> wrote:
> can't be done; the regex memory variables ($1, $2, $3, etc.) are
> read-only.
I had already noticed that when I tried it in the meantime :-)
> It's really irrelevant, though; the trailing slash can be left in,
On Wed, Jul 25, 2001 at 08:46:21PM +0200, Birgit Kellner wrote:
> --On Mittwoch, 25. Juli 2001 09:27 -0800 Michael Fowler
> <[EMAIL PROTECTED]> wrote:
>
> Assume $targetdir holds "/home/somedir" and $2 holds
> "/anotherdir/yetanotherdir/";
> So, to check if the dir /home/somedir/anotherdir/yetan
--On Mittwoch, 25. Juli 2001 09:27 -0800 Michael Fowler
<[EMAIL PROTECTED]> wrote:
Thanks for the hint to File::Path;
Just one more question to make sure:
>> foreach $file (@files) {
>>
>> ### $destfile will be the copied file in subdir admin, $file the
>> ### original
>> file in $origd
> I am using File::Find and File::Copy to accomplish the following:
> check a directory tree for all files that end in *.html and copy them to a
> different directory, preserving the tree structure.
> The following code works fine provided that all subdirectories already
> exist. But is there a
On Wed, Jul 25, 2001 at 04:22:01PM +0200, Birgit Kellner wrote:
> Hi,
>
> I am using File::Find and File::Copy to accomplish the following:
> check a directory tree for all files that end in *.html and copy them to a
> different directory, preserving the tree structure.
> The following code work