BSD Ports

devel/p5-Pod-ToDemo 1.01p2 OpenBSD

Write a demo program from a tutorial POD

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel, perl5

Description

Pod::ToDemo allows you to write POD-only modules that serve as tutorials which can write out demo programs if you invoke them directly. That is, while SDL::Tutorial is a tutorial on writing beginner SDL applications with Perl, you can invoke it as:

$ perl -MSDL::Tutorial=sdl_demo.pl -e 1

and it will write a bare-bones demo program called sdl_demo.pl based on the tutorial.

Install

Binary package:

pkg_add p5-Pod-ToDemo

From the ports tree:

cd /usr/ports/devel/p5-Pod-ToDemo && make install

Dependencies

No port depends on this one.