in reply to Problems executing a copy command on win32

Since Paladin answered your question, I offer this advice

Instead of doing that unreliable test for directory or file, why not use:

if(-d $files[$f]) #exist and directory #or if(-f $files[$f]) #exist and file #or if(-s $files[$f]) #exist and greater then 0

Update: added first line & -s as that might help

"Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce

Replies are listed 'Best First'.
Re: Re: Problems executing a copy command on win32
by DaWolf (Curate) on Jan 14, 2004 at 22:30 UTC
    Thanks a lot for this valuable tip, kutsu, ++.

    Best regards,

    my ($author_nickname, $author_email) = ("DaWolf","erabbott\@terra.com.br") if ($author_name eq "Er Galvão Abbott");