1PPTEMPLATE(1) User Contributed Perl Documentation PPTEMPLATE(1)
2
3
4
6 pptemplate - script to generate Makefile.PL and PP file skeleton
7
9 # generate Makefile.PL and mymodule.pd in CWD
10 pptemplate PDL::MyModule;
11
13 The pptemplate script is the easiest way to start a new module for PDL
14 that contains PP code (see also PDL::PP). The usage is simply
15
16 pptemplate modulename;
17
18 As a result pptemplate will generate a perl Makefile for the new module
19 (Makefile.PL) that contains the minimal structure to generate a module
20 from PP code and also a skeleton file for your new module.
21
22 The file will be called mymod.pd if you called "pptemplate" as
23
24 pptemplate PDL::CleverAlgs::Mymod;
25
26 I suppose you can work out the naming rule ";)". If not resort to
27 experimentation or the source code.
28
29 "pptemplate" will refuse to overwrite existing files of the same name
30 to avoid accidents. Move them out of the way if you really want to
31 scrap them.
32
33 Options
34 Currently there is only the "-i" option which switches "pptemplate"
35 into the so called internal mode. It should only be used when you are
36 starting a new module within the main PDL tree that is supposed to be
37 part of the PDL distribution and the normal PDL build process, e.g.
38
39 cd PDL/IO;
40 mkdir Mpthree; cd Mpthree;
41 pptemplate -i PDL::IO::Mpthree;
42
44 Maybe ";)". Feedback and bug reports are welcome.
45
47 Copyright (c) 2001, Christian Soeller. All Rights Reserved. This
48 module is free software. It may be used, redistributed and/or modified
49 under the same terms as PDL itself (see <http://pdl.perl.org>).
50
51
52
53perl v5.34.0 2022-02-28 PPTEMPLATE(1)