in reply to Re^2: syntax error at labmonkey.pl line 1, at EOF
in thread syntax error at labmonkey.pl line 1, at EOF

I can run your script once I've added #!/usr/local/bin/perl as the first line (because I'm using Solaris).

What exactly is the error you're getting?