Text::EmbedText::Embed is a Perl module to cleanly seperate unwieldy text from your source code. | |
Download |
Text::Embed Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Chris McEwan
- Publisher web site:
- http://search.cpan.org/~mcewan/Text-Embed-0.03/lib/Text/Embed.pm
Text::Embed Tags
Text::Embed Description
Text::Embed is a Perl module to cleanly seperate unwieldy text from your source code. Text::Embed is a Perl module to cleanly seperate unwieldy text from your source code.SYNOPSIS use Text::Embed use Text::Embed CODE|REGEX|SCALAR use Text::Embed CODE|REGEX|SCALAR, LISTABSTRACTCode often requires chunks of text to operate - chunks not large enough to warrant extra file dependencies, but enough to make using quotes and heredocs' ugly.A typical example might be code generators. The text itself is code, and as such is difficult to differentiate and maintain when it is embedded inside more code. Similarly, CGI scripts often include embedded HTML or SQL templates.Text::Embed provides the programmer with a flexible way to store these portions of text in their namespace's __DATA__ handle - away from the logic - and access them through the package variable TA. Requirements: · Perl
Text::Embed Related Software