On 9/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I am looking for one particular line in an HTML page. How can I find > this in a perl program. > > Basically, I want to grep this one line containing what I know. snip
A lot depends on how you can identify that line. The best solution is to use an HTML parser to create a Perl data structure you can walk through to find your data; however, if you have distinct enough anchors you can often easily grab the data with a regex (but this solution tends to be fragile). Without more information about your data we can't provide much more help. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/