On 9/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> If this is how I get external content of the file, how do I loop
> through every line of the $content?
>
> #!/usr/bin/perl
> use LWP::Simple;
> $url = 'http://site.com/page.html";;
> $content = get $url;
> print $content;

for my $line (split /\n/, $content) {
}

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to