README for Text::Chump 1.02
=head1 NAME
Text::Chump - a module for parsing Chump like syntax
=head1 SYNOPSIS
use Text::Chump;
my $tc = Text::Chump->new();
my $tc = Text::Chump->new({images=>0});
sub foo {
my ($url, $label) = @_;
return "$label ($url)";
}
$tc->install('link',\&foo);
sub quirka {
my ($opts, $match, $label) = @_;
return "<a href="blog.cgi?entry=$match">$label</a>";
}
$tc->install('link',\$quirka,'\d+');
$tc->chump('[stuff|4444]');
# returns "<a href="blog.cgi?entry=4444">stuff</a>"
=head1 DEPENDENCIES
This module has external dependencies on the following modules:
Test::More
Text::DelimMatch
Tie::IxHash
URI::Find
=head1 INSTALLATION
perl Makefile.PL
make test
and if all goes well
make install
=head1 HISTORY
v1.02 - Fixing some potential undef warnings
Found by Tom insam
=head1 AUTHOR
Copyright 2003, Simon Wistow <simon@thegestalt.org>
=head1 SEE ALSO
L<Template::Plugin::Chump>, L<Text::WikiFormat>, L<HTML::FromText>,
L<Tie::IxHash>