in reply to Re: Re: print the whole line
in thread print the whole line

No need to split $content up into separate lines first. Try something like:
my $content = get($url); print $content =~ /^(.*abc.*\n)/m;
(If you don't need $content for anything else, you can just put the get($url) in its place on the print line.)