- or download this
#!/usr/bin/perl
use strict;
use warnings;
...
}
print Data::Dumper->Dump([\%stats], [qw/*stats/]);
- or download this
C:\perlp>perl try.pl
...
);
C:\perlp>C:\perlp>
- or download this
#!/usr/bin/perl
use strict;
use warnings;
...
}
print Data::Dumper->Dump([\%stats], [qw/*stats/]);
- or download this
C:\perlp>t1.pl
@data = (
...
);
C:\perlp>
- or download this
my $start = 'string-here string-here:';
my $level = '\((\w+)\)';
my $group = '([\w\s]+) completed,';
...
# if there are details, they're captured in the end parens
my $re = qr/^$start $level $group $total ?(.*)$/;