Re: Strange output problem
- From: "DJ Stunks" <DJStunks@xxxxxxxxx>
- Date: 26 Sep 2006 15:06:16 -0700
Peter J. Holzer wrote:
sub html_escape {
my $s = @_;
$s =~ s/&/&/;
$s =~ s/</</;
$s =~ s/>/>/; # only for symmetry
$s =~ s/"/&dquot;/; # only needed in attributes
$s =~ s/'/'/; # only needed in attributes
return $s;
}
use CGI qw{ escapeHTML };
-jp
.
- References:
- Strange output problem
- From: arod
- Re: Strange output problem
- From: Peter J. Holzer
- Strange output problem
- Prev by Date: Spread***::ParseExcel on Windows with out Win32::OLE
- Next by Date: Re: Ftp via Perl cron job
- Previous by thread: Re: Strange output problem
- Next by thread: Spread***::ParseExcel on Windows with out Win32::OLE
- Index(es):