my $str = 'Thu Oct 18 21:26:36 2007: Time for all triggers in report p +eriod (60s): 1.330981s'; my ($ret_val) = $str =~ /(?<=period )\((\d+)s\):/; exit $ret_val;
In reply to Re: return code for finding a keyword within a line
by eff_i_g
in thread return code for finding a keyword within a line
by sultano
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |