in reply to Re: Why Makefile.PL uses uppercase extension?
in thread Why Makefile.PL uses uppercase extension?
Has anybody tested that ?
Well, if the file system is case insensitive, makefile.pl will work, but MakeMaker will install makefile.pl along with the .pm
See
$ module-starter --eumm --email email --author author --verbose --modu +le=LowerCasedMakefilePL Created LowerCasedMakefilePL Created LowerCasedMakefilePL\lib Created LowerCasedMakefilePL\lib\LowerCasedMakefilePL.pm Created LowerCasedMakefilePL\t Created LowerCasedMakefilePL\t\pod-coverage.t Created LowerCasedMakefilePL\t\pod.t Created LowerCasedMakefilePL\t\manifest.t Created LowerCasedMakefilePL\t\boilerplate.t Created LowerCasedMakefilePL\t\00-load.t Created LowerCasedMakefilePL\ignore.txt Created LowerCasedMakefilePL\Makefile.PL Created LowerCasedMakefilePL\Changes Created LowerCasedMakefilePL\README Added to MANIFEST: Changes Added to MANIFEST: ignore.txt Added to MANIFEST: lib/LowerCasedMakefilePL.pm Added to MANIFEST: Makefile.PL Added to MANIFEST: MANIFEST Added to MANIFEST: README Added to MANIFEST: t/00-load.t Added to MANIFEST: t/boilerplate.t Added to MANIFEST: t/manifest.t Added to MANIFEST: t/pod-coverage.t Added to MANIFEST: t/pod.t Created LowerCasedMakefilePL\MANIFEST Created starter directories and files $ cd LowerCasedMakefilePL $ mv Makefile.PL makefile.pl mv: `Makefile.PL' and `makefile.pl' are the same file $ rename Makefile.PL makefile.pl $ cpanm . --> Working on . Configuring C:/Temp/LowerCasedMakefilePL ... OK Building and testing LowerCasedMakefilePL-0.01 ... OK Successfully installed LowerCasedMakefilePL-0.01 1 distribution installed $ pm-uninstall LowerCasedMakefilePL --> Working on LowerCasedMakefilePL LowerCasedMakefilePL is included in the distribution LowerCasedMakefil +ePL and contains: c:\citrusperl\site\lib\LowerCasedMakefilePL.pm c:\citrusperl\site\lib\makefile.pl Are you sure you want to uninstall LowerCasedMakefilePL? [y] y Successfully uninstalled LowerCasedMakefilePL You may want to rebuild man(1) entries. Try `mandb -c` if needed $
Naturally it won't work on case sensitive filesystems
|
|---|