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

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.)

Thanks dude it woks now

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.