On Tue, May 02, 2006 at 04:43:34PM -0500, JupiterHost.Net wrote: > >Basically, right now I just need the HTML to Text output, like I explained.
> "I want to grab strings between the p tags in this exact block of HTML" > > to which I would reply: > > my @strings = $html =~ m{<p>(.*)</p>}g; Yeah. Depending on "this exact block of HTML", that'd probably be wrong. (It's greedy. And even if it wasn't it might still be wrong.) But if you know "this exact block of HTML", how about: my @strings = ( "string 1", "string 2", ... ); Or how about a solution involving "links -dump" ? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>