j3f has asked for the wisdom of the Perl Monks concerning the following question:
use HTML::Parse; use HTML::Element; use LWP::Simple; use HTML::FormatText; $page = get('http://bleep.com/index.php'); $parsed_html = HTML::Parse::parse_html($page); $link_ref = $parsed_html->extract_links(); @link = @$link_ref; for ($i=0; $i <= @link; $i++) { $links = $link[$i][0]; } print $links;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I stop this from being a never ending loop
by ikegami (Patriarch) on Jan 17, 2009 at 00:48 UTC | |
|
Re: How do I stop this from being a never ending loop
by jeffa (Bishop) on Jan 17, 2009 at 01:40 UTC | |
by j3f (Novice) on Jan 17, 2009 at 02:28 UTC | |
|
Re: How do I stop this from being a never ending loop
by johngg (Canon) on Jan 17, 2009 at 00:55 UTC |