L
lnatz
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 usage {
print<<EOF;
runbook or both
EOF
exit 0;
}
It is failing with error: Can't find string terminator "EOF" anywhere
before EOF at exec_rnbk.pl line 94.
Line 94 is "print<<EOF;".
Am I missing something obvious?
Thanks in advance!
simple that I'm overlooking but it's annoying me. Here is a snippet
from my script.
sub usage {
print<<EOF;
runbook or both
EOF
exit 0;
}
It is failing with error: Can't find string terminator "EOF" anywhere
before EOF at exec_rnbk.pl line 94.
Line 94 is "print<<EOF;".
Am I missing something obvious?
Thanks in advance!