GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HTML::Entities::Interpolate(3) User Contributed Perl Documentation HTML::Entities::Interpolate(3)

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

This is scripts/synopsis.pl:

        #!/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) = 'http://tipjar.com/bin/test?foo=bar&reg=inald';
        my($block_4) = $Entitize{$block_3};

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

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

Not needed.

HTML::Entities.

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

<https://github.com/ronsavage/HTML-Entities-Interpolate>

<https://rt.cpan.org/Public/Dist/Display.html?Name=HTML::Entities::Interpolate>.

David Nicol <davidnicol@gmail.com>.

Maintainer: Ron Savage <ron@savage.net.au>.

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.

2016-09-04 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.