BSD Ports

textproc/p5-Text-Diff-HTML 0.08 DragonFly

XHTML format for Text::Diff::Unified Perl module

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
perl5, textproc
Package size
13.8 KiB, 53.8 KiB installed

Description

This class subclasses Text::Diff::Unified, a formatting class provided by the Text::Diff module, to add XHTML markup to the unified diff format. For details on the interface of the diff() function, see the Text::Diff documentation.

In the XHTML formatted by this module, the contents of the diff returned by diff() are wrapped in a <div> element, as is each hunk of the diff. Within each hunk, all content is properly HTML encoded using HTML::Entities, and the various sections of the diff are marked up with the appropriate XHTML elements.

In the other systems

SystemPortVersion
DragonFlytextproc/p5-Text-Diff-HTML0.08
FreeBSDtextproc/p5-Text-Diff-HTML0.08
OpenBSDtextproc/p5-Text-Diff-HTML0.08p0
NetBSDtextproc/p5-Text-Diff-HTML0.08nb8

Install

Binary package:

pkg install p5-Text-Diff-HTML

From DPorts:

cd /usr/dports/textproc/p5-Text-Diff-HTML && make install clean

Dependencies

Run dependencies 3
Required by 1