On 8/9/07, Sayed, Irfan (Irfan) <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Now I have made two EOT statements and also now I got the same error. I
> have removed the space/tab also before EOT. Here is the code
snip

A space after the EOT will also cause a problem.  Have you considered
not using HereDocs?  They are very finicky and rarely worth the
effort.  Instead, try one of these

print "Select one of the project:\n",
    "1. APC\n",
    "2. quit\n",
    "Your Choice :\n";

or

print "Select one of the project:
1. APC
2. quit
Your Choice :
";

or

print "Select one of the project:\n1. APC\n2. quit\nYour Choice :\n";

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to