On Fri Feb 03 14:02:20 2012, ikegami@adaelis.com wrote: > On Tue, Jan 24, 2012 at 4:01 PM, Father Chrysostomos via RT < > perlbug-followup@perl.org> wrote: > > > On Tue Jan 24 10:35:00 2012, ikegami@adaelis.com wrote: > > > If you want more robust, I'd recommend: > > > > > > my $ptrlen = length(pack("P", "abc")); > > > my $ptrfmt = $ptrlen == length(pack("J", 0)) ? "J" > > > : $ptrlen == length(pack("I", 0)) ? "I" > > > : die; > > > > OK, then I’ll leave it to you whether we should change it. :-) > > > > Attached. (Only the code that initialises $ptrfmt was changed. The rest of > are indentation fixes.) > > - Eric Thank you. Applied as 91087fe. -- Father Chrysostomos --- via perlbug: queue: perl5 status: open https://rt.perl.org:443/rt3/Ticket/Display.html?id=108952Thread Previous | Thread Next