Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: File::Copy::Recursive chokes on input

by andyford (Curate)
on Aug 23, 2007 at 16:13 UTC ( #634680=note: print w/ replies, xml ) Need Help??


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

I've been trying to replicate your problem on Unix by running your program in places where I don't have the permissions because that's really the only reason that I can imagine this failing.

I always get an error like

Uncaught exception from user code: Copy failed: Not a directory at /home/forda/filecopy line 15.

or

Uncaught exception from user code: Copy failed: Permission denied at /home/forda/filecopy line 15.

depending.

Random thought: When you installed the module, did you run "make test"? Did you get all OK?

non-Perl: Andy Ford


Comment on Re: File::Copy::Recursive chokes on input
Re^2: File::Copy::Recursive chokes on input
by dbonneville (Acolyte) on Aug 23, 2007 at 17:29 UTC
    I'm on windows, and for the life of me can't find any instructions that are useful on how to install a module on XP (or NT?). I'm using Activestate.

    I did however find some vague instructions to take the module (or any module) "Recursive.pm" and place it in the File > Copy folder in my Lib in my Perl directory. I also created a "File > Copy" directory where I'm executing the program. Either way, it appears to be working because I'm not getting the error about @INC (or something like that).

    I posted this thread a couple hours ago. I just did another google search. My question here on perlmonks is now in the top 20 search results on google. Do a google on "dircopy perl" and you'll see this thread! Talk about recursive.

    I'm completely baffled, and my search for help is recursive. That's not good! Any other ideas? Can you get this to work at all on your system? Can you post an example that works?

    Thanks!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://634680]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (13)
As of 2014-09-19 18:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (144 votes), past polls