in reply to perl file extenson question

Yes, correct. It's just a convention.
.pm for modules, .pl for Perl programs/scripts.
Both are just text files, and the perl interpreter (afaik) doesn't care about file extensions, so you can name them pretty much anything you like.
Keeping with convention is usually a good idea, though :)