On 11 Jan 2004 at 11:46, Autrijus Tang wrote: > 在 日, 2004-01-11 06:36, Alan Stewart 寫道: > > Here is a patched par.pl and a patched Par.pm. > > Woohoo! > > > It will work if the .pm can be found in the local perl installation > > from which perl.exe is running. Of course mtime is still there as fallback. > > Is that good enough?? > > Well, there is a pure-perl SHA1 here: > http://search.cpan.org/src/JMASON/Mail-SpamAssassin-2.61/lib/Mail/SpamAssassin/SHA1.pm > > It's just 3k, and I'm seriously tempted to duplicate this code twice > (inside par.pl and PAR.pm), so we can get a consistent > behaviour. What do you folks think about that? > > Thanks, > /Autrijus/ > >
I can put that in tonite or tomorrow (then I have to go back to work after a looong holiday, damn). I assume you mean to use this all time ( when running .pl par files ) and dropping the Digest::SHA1, Digest::MD5 and $mtime altogether. Alan Stewart
