[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
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
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
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
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