Your module file has Unix newlines (line feed) rather than Macintosh newlines (carriage return). This causes Perl to see the entire file as a single line, most of which is probably a really long comment.
If you transferred the file from a Unix machine via FTP, you will want to make sure to use text mode.
On your Mac, you can fix the newlines with BBEdit, or create a MacPerl droplet like the following to translate the newlines:
(Remember that in MacPerl, \r and \n are reversed, so that \n still corresponds to the local newline character.)