Rumour has it Mathew Robertson, on or about 25.Oct.2005 19:48, whispered:
> you can do this with a filter:
>
> my $match = qr/(<[Tt][Mm][Pp][Ll]_[^>]+)\/>/;
> my $filter = sub {
> my $text_ref = shift;
> $$text_ref =~ s/$match/$1>/g;
> };
Hi Mathew, thanks for the help. I am already using filt
you can do this with a filter:
my $match = qr/(<[Tt][Mm][Pp][Ll]_[^>]+)\/>/;
my $filter = sub {
my $text_ref = shift;
$$text_ref =~ s/$match/$1>/g;
};
$match is the regex used to find tags.
Then instantiate H::T with the 'filter' option.
Hope this helps,
Mathew
Chris Beck wrote:
Hey all,
Hey all,
Is there any way I could request that XHTML style also
be valid?
Cheers,
Chris
--
Chris Beck - http://pacanukeha.blogspot.com
"Privacy is what they take away when they want to torture you.
-- The Earl of Spencer
---
This SF.Net