I modified Tie::File, using the appropriate flag, to open my data file in Read-Only mode. The script ran well, right up to here:

***

Filehandle FH opened only for input at C:/Program Files/lib/Tie/File.pm line 665, <FH> line 20450.
Couldn't write record: Bad file descriptor at C:/Program Files/lib/Tie/File.pm line 665, <FH> line 20450.


***

Lines 665 and 666 of the module Tie::File read:

 print $fh $rec
   or die "Couldn't write record: $!";  # "Should never happen."


Any suggestions on how to go about investigating this?


-- Craig

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

Reply via email to