In the folder that contains the .pl files you want displayed as text, make a .htaccess file containing the following and upload to that directory:
Code:
RemoveHandler .pl
AddType text/plain .pl
Either line should work by itself, but, overkill is OK.
Do not add or alter the .htaccess file in the public_html directory, unless, you want site-wide changes.