The '/' is used on Unix, but not on Windows.
Try replacing it with a '\'
open(READFILE1,"<.\Sample_text_file.txt") or die ("Cannot open the given file");
Or maybe just drop the './' entirely.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to