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
In reply to Newb wrestles with join by Dizzley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |