in reply to Re: File::Xcopy problem
in thread File::Xcopy problem

Tahnks, I had tried that as well as
$obj->xcp('c:\\temp','c:\\temp2','\.txt$');
but no good

Replies are listed 'Best First'.
Re^3: File::Xcopy problem
by Anonymous Monk on Dec 16, 2004 at 20:17 UTC
    I believe that the problem is that you are looking for '\.txt$' files. Remembering that single quotes prevent interpolation, instead of looking for files that end in .txt, it is looking for files that end in .txt$ Try just '.txt'