use strict; use warnings; use autodie qw(open close); ... open my $handle, '<', $filepath; while (<$handle>) { print if /0 Items in Feed & 0 New Fetched items/; } close $handle;
In reply to Re: printing the line after grepping
by moritz
in thread printing the line after grepping
by rajyalakshmi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |