in reply to Moving a reference file.

Could you tell us your operating system and environment (are you calling Perl from a command prompt or from a web server)?