On Tue, 4 Mar 2014 09:24:53 -0500
shawn wilson <ag4ve...@gmail.com> wrote:

> my $src = (map {s/.*(ARIN|APNIC).*(?:\n)?/$1/r} @ret)[0];

You do realize this is process the whole array and then throwing out
all but the first? And it has the side effect of modifying the array?


-- 
Don't stop where the ink does.
        Shawn

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to