PPTEMPLATE(1)
π NAME π
$module β a brand new PDL module whose whole entire job is to clutter up CPAN π
β¨ SYNOPSIS β¨
use $module;
# FILL THIS IN
π DESCRIPTION π
This will change the world. no cap π
π NAME (part two, the script era) π
pptemplate β the script that generates your Makefile.PL and your PP file skeleton π¦
πΈ SYNOPSIS (bestie edition) πΈ
# generate Makefile.PL and mymodule.pd in PDL-MyModule
pptemplate PDL::MyModule;
π§ DESCRIPTION (the real tea) π§
Okay so pptemplate is genuinely the easiest way to start a new module for PDL that's got PP code in it (also peep PDL::PP if you want the lore, iykyk). The usage is literally just:
pptemplate modulename;
And as a result, pptemplate will generate a perl Makefile for the new module (Makefile.PL) that has the minimal structure you need to generate a module from PP code, plus a skeleton file for your new module. Obsessed. π«Ά
The file gets called mymod.pd if you called pptemplate like this:
pptemplate PDL::CleverAlgs::Mymod;
I suppose you can work out the naming rule ;). And if not, resort to experimentation or the source code. Not me giving you homework but like. π
pptemplate will stop if the directory it's supposed to create already exists, because it doesn't want any accidents. So if you genuinely want to scrap it, move it out of the way first. π
As of 2.096, the internal mode of this script has been removed, and it now creates the files using the new deep mode. The reason? The earlier practice of incorporating vast numbers of modules into the main PDL distribution got rethunk because of all the problems it causes. So use this script to make it easy to create new CPAN-distributed PDL modules. Periodt. β¨
π BUGS π
Feedback and bug reports are welcome!! Come talk to me, bestie, we want the tea π
π COPYRIGHT π
Copyright (c) 2001, Christian Soeller. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the same terms as PDL itself (see <http://pdl.perl.org>).
k bye bestie π this was perl v5.42.0 dropped on 2025-07-25, and it's giving PPTEMPLATE(1), User Contributed Perl Documentation energy, slay π
π¦ where this page comes from
- fedora 43: perl-PDL 2.100.0-3.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms