From: Michele Dondi Date: 2007-06-16T22:15:07+09:00 Subject: Re: Runtime disparity - Same program in Perl and Ruby On Thu, 14 Jun 2007 19:11:18 GMT, "John W. Krahn" wrote: >Using $_ instead of the copy in $file: > > return if !-f || !/^\S+_\d{3}/; Or (IMHO more clearly): return unless -f and /^\S+_\d{3}/; Michele -- {$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr (($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^