Jim Meyering wrote:
> Here is a patch. Would you please let me know whether it works?
It doesn't. Also if I use
use bytes;
in Fetish.pm, it doesn't work either. Maybe the 'use bytes' declaration
applies only to the file it sits in? (Well that would be if it was
designed logically but, heck, perl isn't logically designed!)
The only thing that works for me is this:
*** tests/fmt/basic.bak 2001-09-12 11:04:52.000000000 +0200
--- tests/fmt/basic 2002-11-21 02:25:02.000000000 +0100
***************
*** 14,19 ****
--- 14,20 ----
exec $PERL -w -I$srcdir/.. -MFetish -- - <<\EOF
require 5.003;
use strict;
+ use bytes;
(my $program_name = $0) =~ s|.*/||;
Whereas
eval 'use bytes';
seems to have no effect.
Bruno