Help for this page

Select Code to Download


  1. or download this
    Thomas Ack\x26#39\x3Bhing
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    open my $fh, '<', 'source.html' or die $!;
    my $string = do { local $/; <$fh> };
    print decode_entities( $string);
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
    my $string = "Thomas Ack\x26#39\x3Bhing";
    print decode_entities( $string);
    #Output: Thomas Ack'hing