package HTML::Entities::Interpolate;
#use strict;
use warnings;
use HTML::Entities;
use Tie::Function;
our $VERSION = '1.00';
# -----------------------------------------------
tie my %Entitize, 'Tie::Function' => \&encode_entities;
sub import{*{caller().'::Entitize'} = \%Entitize};
# -----------------------------------------------
1;
__END__
=head1 NAME
C - Call HTML::Entities::encode_entities, via a hash, within a string
=head1 Synopsis
use HTML::Entities::Interpolate;
print qq{\n};
print qq{The full text of the block is
$Entitize{$block}
\n};
print $Entitize{< is a pure Perl module.
=head1 Constructor and initialization
Not needed.
=head1 Required Modules
=over 4
=item HTML::Entities
=item Tie::Function
=back
=head1 Author
David Nicol .
=cut