One of the first things you must do when configuring a script, is set the correct path to the Perl interpreter, which is the engine responsible for processing the script.
The path to perl is: #!/usr/bin/perl There may be some instances where the following path will work: #!/usr/local/bin/perl
"/home/username/public_html" is the absolute path for any cgi or php you setup.