package Data::Phrasebook::Plain; use strict; use warnings FATAL => 'all'; use base qw( Data::Phrasebook::Generic Data::Phrasebook::Debug ); use Carp qw( croak ); our $VERSION = '0.29'; =head1 NAME Data::Phrasebook::Plain - The Simple Phrasebook Model. =head1 SYNOPSIS use Data::Phrasebook; my $q = Data::Phrasebook->new( class => 'Plain', loader => 'Text', file => 'phrases.txt', ); my $r = Data::Phrasebook->new( file => 'phrases.txt' ); # simple keyword to phrase mapping my $phrase = $q->fetch($keyword); # keyword to phrase mapping with parameters $q->delimiters( qr{ \[% \s* (\w+) \s* %\] }x ); my $phrase = $q->fetch($keyword,{this => 'that'}); =head1 DESCRIPTION This module is the fallback or default phrasebook class. It doesn't do much except act as a very simple templating facility. =head1 METHODS =head2 fetch Retrieves the specified C