Hi, I'm writing a DBI script that will read data from a text file and insert it into a database.
When I come to the point of the 'open' statement: open(CODEINFO, $data_file) || die "Unable to open $data_file:"; I get the following error messages: Bareword found where operator expected near "open(CODEINFO, '$data_file') || die "Unable" and syntax error near "open(CODEINFO, '$data_file') || die "Unable to " Can't find string terminator '"' anywhere before EOF. I don't know which would be the bareword or how to change it, and I don't know why perl can't see the string terminator in "Unable to open $data_file:"; If someone has a minute, could you help? Thanks! -- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Robbie Staufer NCAR/SCD 1850 Table Mesa Dr. Rm. 42 Boulder, CO. 80305 (303) 497-1836 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]