more useful options | |
PerlMonks |
Re: Why the following code shows a compilation error?by ccn (Vicar) |
on Dec 19, 2008 at 09:50 UTC ( [id://731496]=note: print w/replies, xml ) | Need Help?? |
No any spaces allowed before and after the string terminator (EOHTML). Strip those and it will compile.
And carriage return is a must if the string terminator is at the last line of a script. see perldoc perlop (Quote-Like-Operators)
In Section
Seekers of Perl Wisdom
|
|