Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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.


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


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

Replies are listed 'Best First'.
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) "" 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?


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2021-04-14 12:10 GMT
Find Nodes?
    Voting Booth?

    No recent polls found