...or this:s/^($timestamp_re)/decode($1)/e or die "Oh wait, looks like your log i +s garbled!\n";
How will you know if your substitution function found anything to substitute?s/11 Aug/10 Aug/g and ++$count;
In reply to Re: A Functional Substitute
by kappa
in thread A Functional Substitute
by mrborisguy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |