in reply to Error while Copying files from a directory to cwd
When I take a gander at the source code for File::Copy I see that there are some OS-specific differences in the implementation. There's even a line of code that does this:
return system('/bin/cp', '-f', $_[0], $_[1]) == 0;
You didn't mention what OS you were running this on. File::Copy is written in Perl, however, so it should be easy enough to debug into it and find out exactly where it is crashing on you. Here is a simple Perl debugger tutorial you might use.
Celebrate Intellectual Diversity
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Error while Copying files from a directory to cwd
by Anonymous Monk on Apr 21, 2011 at 15:03 UTC | |
by Anonymous Monk on Apr 21, 2011 at 17:26 UTC |