develooper Front page | perl.perl5.porters | Postings from April 2008

Re: [perl #53482] I believe I found a bug with Readonly::XS that might actually be a guts bug.

Thread Previous | Thread Next
From:
andreas.koenig.7os6VVqR
Date:
April 30, 2008 22:58
Subject:
Re: [perl #53482] I believe I found a bug with Readonly::XS that might actually be a guts bug.
Message ID:
87mynao9cv.fsf@k75.linux.bogus
>>>>> On Wed, 30 Apr 2008 08:39:10 +0100, "Robin Barker" <Robin.Barker@npl.co.uk> said:

  > From: Andreas J. Koenig
 >> My binary search says 22074

  > Looks like their are two bugs and two fixes

  > When does the following program give ":" not 10.

Same thing.

----Program----
#!/usr/bin/perl -l

  sub TIESCALAR {
    my $foo = $_[1];
    bless \$foo, "main";
  };

  sub FETCH { ${ $_[0]} };
  tie my $x, "main", 2;
  tie my $y, "main", 8;
  print $x | $y;

----Output of .../p7dcK3N/perl-5.9.0@22071/bin/perl----
:

----EOF ($?='0')----
----Output of .../pvpF9Iw/perl-5.9.0@22074/bin/perl----
10

----EOF ($?='0')----


-- 
andreas

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About