View on
MetaCPAN is shutting down
For details read Perl NOC. After June 25th this page will redirect to
Ron Savage > HTML-Entities-Interpolate > HTML::Entities::Interpolate



Annotate this POD


Open  0
View/Report Bugs
Module Version: 1.10   Source  


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

Synopsis ^

This is scripts/

        #!/usr/bin/env perl

        use strict;
        use warnings;

        use HTML::Entities::Interpolate;

        # ------------------------------

        my($block_1) = '<p>Para One</p>';
        my($block_2) = "<p align='center'>Para Two</p>";
        my($block_3) = '';
        my($block_4) = $Entitize{$block_3};

        print <<EOS;
                        <title>Test HTML::Entities::Interpolate</title>
                        <h1 align='center'>HTML::Entities::Interpolate</h1>
                        <form action='#'>
                        <table align='center'>
                                <td align='center'>Input: <input name='data' value='$Entitize{$block_1}'></td>
                                <td align='center'><br>The full text of the block is <pre>$Entitize{$block_2}</pre></td>
                                <td align='center'><br>Check out the web page at: <a href='$block_3'>$block_4</a></td>

Description ^

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

Constructor and initialization ^

Not needed.

See Also ^


Machine-Readable Change Log ^

The file Changes was converted into Changelog.ini by Module::Metadata::Changes.

Repository ^

Support ^

Author ^

David Nicol <>.

Maintainer: Ron Savage <>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

syntax highlighting: