in reply to A very beginner problem

Your perl executable may not be in /usr/bin try using #!/usr/local/bin/perl or do a locate perl and find the path to the perl executable. If that doesn't resolve your problem try posting the error message you are getting when your program won't run.