in reply to printing the line after grepping
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: printing the line after grepping
by 7stud (Deacon) on Nov 11, 2009 at 17:13 UTC | |
by ikegami (Patriarch) on Nov 11, 2009 at 17:50 UTC | |
by 7stud (Deacon) on Nov 11, 2009 at 18:23 UTC | |
by ikegami (Patriarch) on Nov 11, 2009 at 18:29 UTC |