NAME

HTML::Entities::Interpolate - Call HTML::Entities::encode_entities, via a hash, within a string

Synopsis

use HTML::Entities::Interpolate;

print qq{<input name="data" value="$Entitize{$old_data}">\n};

print qq{The full text of the block is <pre>$Entitize{$block}</pre>\n};

print $Entitize{<<EOF};
Check out the web page at http://tipjar.com/bin/test?foo=bar&reg=inald
EOF

Description

HTML::Entities::Interpolate is a pure Perl module.

Constructor and initialization

Not needed.

Required Modules

HTML::Entities
Tie::Function

Author

David Nicol <davidnicol@gmail.com>.