Re: heredoc issure

2007-07-19 Thread Rob Dixon
[EMAIL PROTECTED] wrote: lnatz wrote: Hi, I'm having an issue with here docs, and I'm sure it's something simple that I'm overlooking but it's annoying me. Here is a snippet from my script. sub usageAndDie { print< < EOF; >> The following single-character otions are accepted: >> wih argument

RE: heredoc issure

2007-07-19 Thread christopher . l . hood
I think that Rob was onto something, here is my 2 cents.   The print line should be like this:    print <   and not   print< < EOF   like you have.  I think maybe that what is happening is that the error that is being printed is saying that it cannot find “EOF” before end of file

Re: heredoc issure

2007-07-18 Thread John W. Krahn
lnatz wrote: Hi, I'm having an issue with here docs, and I'm sure it's something simple that I'm overlooking but it's annoying me. perldoc -q "HERE documents" John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in short ord

Re: heredoc issure

2007-07-18 Thread Rob Dixon
lnatz wrote: Hi, I'm having an issue with here docs, and I'm sure it's something simple that I'm overlooking but it's annoying me. Here is a snippet from my script. sub usageAndDie { print<> The following single-character otions are accepted: >>wih arguments: -T -S >>without ar

Re: heredoc issure

2007-07-18 Thread Chas Owens
On 7/18/07, lnatz <[EMAIL PROTECTED]> wrote: Hi, I'm having an issue with here docs, and I'm sure it's something simple that I'm overlooking but it's annoying me. Here is a snippet from my script. snip Its failing with the error: Can't find string terminator "EOF" anywhere before EOF at exec_rn