in reply to file copy undefined?
Apart from the already mentioned stuff and as it hasn't been mentioned yet: You should consider to use File::Spec and/or File::Spec::Functions to combine your directory and file paths.
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (531 votes). Check out past polls.