Getting a Perl file to run under Ubuntu?

Actually I take that back, your perl script is bad, can you copy and paste that script here? You have some sort of error in it.