Charles Pelkey wrote: > Try the following: > > open(DLFILE, "<$files_location\test.pdf") or die "Could not open file
\t is interpreted as a tab character. This is why it fails. When using \ as path separators they must always be escaped, hence open(DLFILE, "<$files_location\\test.pdf") or die "Could not open file or, a little less ugly and more cross-platform, use forward slashes; Perl will know what to do. open(DLFILE, "<$files_location/test.pdf") or die "Could not open file Also, the three-arg form is safer: open(DLFILE, "<", "$files_location/test.pdf") David _______________________________________________ Perl-Win32-Web mailing list Perl-Win32-Web@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs