Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
                pre("CGI example, with font '$fontname'")
            ),
            end_html;
    
  2. or download this
    my %s;
    @s{split //, '<>&'} = qw/lt gt amp/;
    my $text = do { local $/; <Input> };
    $text =~ s/([<>&])/"&$s{$1};"/ges;