use HTML::Entities; my @requirements = qw(fast good cheap); my $html = join("\n", '<ul>', map('<li>' . encode_entities($_) . '</li>', @requirements), '</ul>', );
use HTML::Entities; my @requirements = qw(fast good cheap); my $html = join("\n", '<ul>', map('<li>' . encode_entities($_) . '</li>', @requirements), '</ul>', );