#perl - Mon 19 Feb 2007 between 12:48 and 12:53



merlynif that was sarcasm, you need stronger markers.
polakand I want everything except for "foo" returned?
merlynpolak - "perldoc perlretut"
maukepolak: substr($x, 3)
merlyndidn't we say that before?
integralpolak: regexp don't return stuff.
Dnumgismerlyn: was just checking wether eval broke utf8ness
merlynmy ($x) = /(.)/; # ? :)
godzirraHrm. Anyone know a good module to strip all html tags from a string?
merlyngodzirra - that'll look funny for tables
polakof course foobar is for illustration... and I couldn't use fixed 3, but I take it that regexp is not meant for this and I should use substr and instrin(?)
Caranthirwhen using Mail::Mailer in a cgi program to mail some form values, when you do the print $mailer $body (as shown on page 727 of perl cookbook, 2nd edition), is that going to work as it should?
merlynwhat's the purpose in the stripping?
actionmerlyn smells spam
merlynsmells spam
why are you sending mail from a CGI?
godzirramerlyn: No, its for stuff going inside a table. I'm trying to strip all html tags from the data that goes inside the cells.
Caranthirmarket survey for boat slips and drystacks around coastal north carolina
merlynif you want to extract table data, see HTML::TableExtract
or something like that
Caranthir - and that's not spam, how?
maukepolak: I don't understand what you're trying to do
godzirrano, I want something that strips html tags. Thats why I asked for something that strips html tags ;)
merlynwhy does it have HTML tags?
godzirraWe have blurbs for the items in our system that users write, and our users can't be trusted to not do stupid things.
which breaks when we put it in xml.
Caranthirthe form takes boat length, type, name, email address, and phone number from people who are interested in purchasing or leaasing boat slips and then sends them to a particular person
merlynmaybe you want to escape it then
Dnumgiseval: $c = chr 1234; length eval { $c }
buubotDnumgis: 1
merlynif they say 3 < 5, don't you want it to show as "3 < 5"
godzirrano, I want to actually remove it in this case.
merlynwhat if it's not actually HTML?
like my example
godzirraThats why I want a module that strips actual html tags :)
merlynis <b> an HTML tag or not? Might just be talking about "<b>"
maukeso "3 < 5" is fine?
godzirra3 < 5 is fine.
Caranthirthe page is linked to by a banner on a boating site
godzirraPretty much anything enclosed in < > isn't.
merlynI hate things that don't let me talk about HTML tags

Page: 3 10 17 24 31 38 45 52 59 66 73 80 87 94 101 

IrcArchive