BSD Ports

textproc/p5-PPI-HTML 1.08p2 OpenBSD

parse, analyze and manipulate Perl

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

Description

PPI::HTML is the successor to the now-redundant PPI::Format::HTML.

While early on it was thought that the same formatting code might be able to be used for a variety of different types of things (ANSI and HTML for example) later developments with the here-doc code and the need for independently-written serializers meant that this idea had to be discarded.

The new module is much cleaner. Simply create an object with the options you want, pass PPI::Document objects to the "html" method, and you get strings of HTML that you can do whatever you want with.

In the other systems

SystemPortVersion
OpenBSDtextproc/p5-PPI-HTML1.08p2
FreeBSDtextproc/p5-PPI-HTML1.08_1
NetBSDtextproc/p5-PPI-HTML1.08nb17
DragonFlytextproc/p5-PPI-HTML1.08_1

Install

Binary package:

pkg_add p5-PPI-HTML

From the ports tree:

cd /usr/ports/textproc/p5-PPI-HTML && make install

Dependencies

Run dependencies 2
Required by 1