There is nothing wrong with that script. It sounds like you either didn't copy your script directly into the email, or there are invisible characters we can't see in this example.
Maybe you used MS Word or some other word processor to write the script? I would suggest writing the whole thing again in notepad just to see what happens (even if you used notepad before). Rob -----Original Message----- From: Naveen Parmar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 10:36 AM To: [EMAIL PROTECTED] Subject: Bareword The following error occurs on my Windows ME machine: Bareword found where operator expected at c:\myperl\hello.pl line 3"" (missing operator before r?) Bareword found where operator expected at c:\myperl\hello.pl line 3"" WHEN EXECUTING THIS PERL SCRIPT #!/usr/bin/perl # Filename: first_script.pl print "My first Perl script.\n"; Any ideas? TIA, - NP -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]