pptemplateSection: User Contributed Perl Documentation (3)Updated: 2004-06-15 |
pptemplateSection: User Contributed Perl Documentation (3)Updated: 2004-06-15 |
# generate Makefile.PL and mymodule.pd in CWD
pptemplate PDL::MyModule;
pptemplate modulename;
As a result pptemplate will generate a perl Makefile for the new module (Makefile.PL) that contains the minimal structure to generate a module from PP code and also a skeleton file for your new module.
The file will be called mymod.pd if you called "pptemplate" as
pptemplate PDL::CleverAlgs::Mymod;
I suppose you can work out the naming rule ";)". If not resort to experimentation or the source code.
"pptemplate" will refuse to overwrite existing files of the same name to avoid accidents. Move them out of the way if you really want to scrap them.
cd PDL/IO; mkdir Mpthree; cd Mpthree; pptemplate -i PDL::IO::Mpthree;