Hello,

I have been opening files like this for a year now,
# open (INFILE, "<sept2000.txt") or die ("Can't open sept2000.txt. $!");


and am thinking about starting to use more of the Fcntl module:
require Fcntl;
open (INFILE, "sept2000.txt", O_RDONLY) or die ("Can't open sept2000.txt. 
$!");

But I get an error. Also, the reason for doing that is I believe it would 
be safer? Anyway, when should one consider using the Fcntl module versus, 
just the usual open filehandle, and < or > or >> from it?

Thanks
Scott

---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to