in reply to Can't find string terminator "ENDHEADER" anywhere before EOF
It should work fine as written provided that ENDHEADER is at the very start of a line and nothing else follows it (though I can't tell for sure as you should put <code> tags around your code so we can also see your code formatting which is important in this case). As per perlop:
The terminating string must appear by itself (unquoted and with no surrounding whitespace) on the terminating line.
HTH
-enlil
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Can't find string terminator "ENDHEADER" anywhere before EOF
by TedPride (Priest) on Sep 19, 2004 at 01:07 UTC | |
by Anonymous Monk on Aug 03, 2007 at 14:47 UTC | |
by Anonymous Monk on May 14, 2008 at 17:34 UTC | |
by Anonymous Monk on Dec 10, 2008 at 14:01 UTC | |
by Anonymous Monk on Dec 09, 2011 at 06:54 UTC |
In Section
Seekers of Perl Wisdom