PPTEMPLATE(1)

πŸ“¦
version 2.100.0 Β· 5 versions
, in fedora 43

πŸŽ€ 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 (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