Class::PhrasebookClass::Phrasebook is a Perl module that implements the Phrasebook pattern. | |
Download |
Class::Phrasebook Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Rani Pinchuk
- Publisher web site:
- http://search.cpan.org/~rani/Class-Phrasebook-0.88/SQL/SQL.pm
Class::Phrasebook Tags
Class::Phrasebook Description
Class::Phrasebook is a Perl module that implements the Phrasebook pattern. Class::Phrasebook is a Perl module that implements the Phrasebook pattern.SYNOPSIS use Class::Phrasebook; my $pb = new Class::Phrasebook($log, "test.xml"); $pb->load("NL"); # using Dutch as the language $phrase = $pb->get("ADDRESS", { street => "Chaim Levanon", number => 88, city => "Tel Aviv" } );This class implements the Phrasebook pattern. It lets us create dictionaries of phrases. Each phrase can be accessed by a unique key. Each phrase may have placeholders. Group of phrases are kept in a dictionary. The first dictionary is the default one - which means that it will always be read. One of the dictionaries might be used to override the default one. The phrases are kept in an XML document. Requirements: · Perl
Class::Phrasebook Related Software