.sh and .pl are just plain text files, so yep, you can just rename it.
how has the linux machine "specified" that only .sh files can be run? this seems odd and is not something I've come across before.
--
Don't Stand on your head - you'll get footprints in your hair
http://charlieharvey.org.uk
http://charlieharvey.com