d:\>perl -MO=Deparse -e "do {s/\s+/\t/; s/elementary/my dear Watson/g; +} for @array;" foreach $_ (@array) { s/\s+/\t/; s/elementary/my dear Watson/g;; } -e syntax OK
You machine probably was overloaded with some extra tasks second time. And I beleive multiline version compiled into the same code internally.
In reply to RE: Re: Does it Iactually/I run faster?
by vkonovalov
in thread Does it Iactually/I run faster?
by greenhorn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |