http://www.perlmonks.org?node_id=1001996


in reply to How to convert Perl file to a perl module(.pm file).

Is it a .pl file or a .PL file? .PL files, in the build process, are executed to generate the resulting file (.pm, .pl, .tmpl, etc) in the blib during the build process (see PL_FILES in ExtUtils::MakeMaker or Module::Build::API).

Update: is this related to Problem with PDL module?

--MidLifeXis