Ron Grabowski <[EMAIL PROTECTED]> wrote:

> open FILE, "$nt_dir/$formfile" || die ("Could not open file: $!");

Watch out for precedence.  That die() will never be executed 
(since "$nt_dir/$formfile" is always true).  You need to either 
put parentheses around the arguments to open() or use "or" 
instead of ||.  This is the sort of situation "or" was invented 
for.

-- 
Keith C. Ivey <[EMAIL PROTECTED]>
Washington, DC
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to