Subject: | image_byte_order number or interp |
Date: | Sat, 03 Jul 2010 10:47:11 +1000 |
To: | bug-X11-Protocol [...] rt.cpan.org |
From: | Kevin Ryde <user42 [...] zip.com.au> |
With X11::Protocol 0.56 a little program
use strict;
use warnings;
use X11::Protocol;
my $X = X11::Protocol->new;
print $X->{'image_byte_order'};
prints
0
whereas the POD shows
'image_byte_order' => 'LeastSiginificant',
Should it be the number or the symbol? I see the new() code has an
interp() on that field, but the do_interp seems to be set too late for
that to take effect. Do you have to ask for do_interp, or not, somehow
in the new() call?