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.
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (376 votes). Check out past polls.