0

dear all

i am new to perl. when i run my basic perl program as follows

print<<EOF;

HELLO MY NAME IS MANISH ARORA
EOF

i am getting this error

Can't find string terminator "EOF" anywhere before EOF at PERL.plx line 1.

please help

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by manish250
0

dear all

i am new to perl. when i run my basic perl program as follows

print<<EOF;

HELLO MY NAME IS MANISH ARORA
EOF

i am getting this error

Can't find string terminator "EOF" anywhere before EOF at PERL.plx line 1.

please help

Sounds like there's a stray space after the EOF. Careful with that.

(BTW, there's no need to yell. Perl understands lowercase letters quite as well as caps.)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.