in reply to File::Copy::Recursive chokes on input

It's definitely easier (and more reliable) to install new modules in Windows using the Perl Package Manager that came with ActivePerl. Find it in the Start Menu and run the following command after it loads up. (Be sure to remove your previously installed version, of course!)

ppm> install File-Copy-Recursive

I went ahead and tried the install on my machine and it took about 3 seconds to download and install. Let us know if it works.

Update: I got to fooling around looking at all the different modules that came with ActiveState and found one that may help as a substitute. Look at ActiveState::Handy for the cp_tree command. If it does what it says then you shouldn't need File::Copy. However, I don't know which one is better efficiency-wise. Depending on how large your file tree is, you should choose wisely between the two.

Replies are listed 'Best First'.
Re^2: File::Copy::Recursive chokes on input
by dbonneville (Acolyte) on Aug 23, 2007 at 18:34 UTC
    I tried ActiveState::Handy and it worked the first time! Thanks!

    I tried PPM for Recursive, but there must be a firewall issue as ppm.activestate.com:80 times out. I wonder if it would have worked if the install was right.

    On that note, how DO you install a module like Recursive manually? I'd like to see it work only because it bothers me that I couldn't figure it out.

      I've never done it successfully on Windows. Linux of course comes with the tools to compile modules written in C or whatever, but Windows does not. If it's a pure Perl module (as in, written solely in Perl) then you can just download and copy it into the C:\Perl\lib directory. Otherwise, I've always relied on ppm. Use the help command and familiarize yourself with the controls. It does have a search function to help you lookup the package names before you download them.