in reply to File::Xcopy problem
$obj->xcp('c:/temp','c:/temp2','\.txt$'); [download]
$obj->xcp('c:\\temp','c:\\temp2','\.txt$'); [download]