Dizzley has asked for the wisdom of the Perl Monks concerning the following question:
I don't see what the line my $circle = (join '', $content); is doing? Can someone explain please?my $url = "http://amazon.com/o/tg/cm/browse-communities/-/" . $circleID . "/t/"; use strict; use LWP::Simple; #Request the URL my $content = get($url); die "Could not retrieve $url" unless $content; my $circle = (join '', $content); while ($circle =~ m!<title>(.*?)</title>!mgis) { print $1 . "\n\n"; }
In a general wisdom-seeking mood,
Diz
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Newb wrestles with join
by davido (Cardinal) on Oct 01, 2005 at 06:39 UTC | |
by Dizzley (Novice) on Oct 01, 2005 at 06:55 UTC | |
|
Re: Newb wrestles with join
by Zaxo (Archbishop) on Oct 01, 2005 at 06:35 UTC | |
|
Re: Newb wrestles with join
by holli (Abbot) on Oct 01, 2005 at 06:46 UTC | |
by Dizzley (Novice) on Oct 01, 2005 at 06:58 UTC | |
|
Re: Newb wrestles with join
by chromatic (Archbishop) on Oct 01, 2005 at 06:27 UTC |