Matt,
    When opening a file, you should always specify < (read) > (write) or >> (append) 
to the
beginning of the file name.  This is probably not why it is not opening your file 
however.  I would
suggest that you specify the whole path, I think this will make it work for you.

open(FH, "<C:/web/data/file.txt");

Regards,
David



----- Original Message -----
From: "Matt Brooks" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 06, 2002 8:13 AM
Subject: Opening files with Perl open() on Win2000 server


Opening files with Perl open() on Win2000 server


All the data is never there when using
 open FH, "file";
The same script works fine on a Unix platform.

Can anyone offer any suggestions as to why this is happening?

Regards,
 - Matt


_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to