in reply to Syntax Error

If I type: perl test.pl it works. Thanks to everyone for all your help. Eudoro