On 20 Dec 2006 at 8:00, Dukelow, Don wrote: > I can't get "use File::Copy" to work. I declare it at the beginning > of script but when I try to use it latter nothing happens. There are > no errors and nothing is copied. > > I'm using the command! > > copy($variable, $variable2); > > I've also tried "cp" rather then "copy".
Just a guess but try copy($variable, $variable2) or warn "Can't copy: $!\n"; you might get something meaningful back. Dp.