- or download this
use Data::Dumper;
my %found;
...
team/hello.cpp 2.1 NONE
Clear/thing.pl NONE 1.2.34
etc etc
- or download this
$VAR1 = {
'Clear/thing.pl' => [
...
'1.3.4.5'
]
};
- or download this
if ( $var =~ m{$pattern}g ) {
- or download this
if ( (@matches = $var =~ m{$pattern}g ) > 0) {
- or download this
$var="Files Checked IN:
test/abc.txt 1.23 1.3.4.5
...
if ( ( @matches = $var =~ m{$pattern}g ) >0 ) {
print join('|',@matches),$/;
}