in reply to (SOLVED) How do I display only matches
next if $row =~ /REGEX/;
Of course this must be inverted
next unless $row =~ /REGEX/;
Thanks anomalous monk
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How do I display only matches
by AnomalousMonk (Archbishop) on Sep 24, 2019 at 01:53 UTC | |
by tem2 (Novice) on Sep 24, 2019 at 03:28 UTC | |
by AnomalousMonk (Archbishop) on Sep 24, 2019 at 05:08 UTC |