in reply to Re^3: Regex returns match the first time. It returns everything thereafter
in thread Regex returns match the first time. It returns everything thereafter
Something like this should work:
my $found=0; print grep { $found or ( /line/ and $found=1 )} @ssh;
Aaron B.
Available for small or large Perl jobs and *nix system administration; see my home node.
|
|---|