Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Readonly CPAN distribution.

Report information
The Basics
Id: 24216
Status: resolved
Priority: 0/
Queue: Readonly

People
Owner: sanko [...] cpan.org
Requestors: jens.luedicke [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.03
Fixed in: (no value)



Subject: Readonly scalars and looks_like_number function
The 'looks_like_number' function doesn't handle Readonly variables properly: http://mail.gnome.org/archives/gtk-perl-list/2007-January/msg00005.html No change when using Readonly::XS any ideas? Versions: perl 5.8.8
On Thu Jan 04 10:41:05 2007, JENSL wrote: Show quoted text
> The 'looks_like_number' function doesn't handle Readonly variables
properly: Show quoted text
> > http://mail.gnome.org/archives/gtk-perl-list/2007-January/msg00005.html > > No change when using Readonly::XS > > any ideas? > > Versions: > > perl 5.8.8
I've also encountered this. Specifically, it goops up bind parameters to DBI calls because looks_like_number returns the wrong thing. This could be a problem in Scalar::Util, though.
On Sun Apr 15 16:15:49 2007, HANENKAMP wrote: Show quoted text
> On Thu Jan 04 10:41:05 2007, JENSL wrote:
> > The 'looks_like_number' function doesn't handle Readonly variables
> properly:
> > > > http://mail.gnome.org/archives/gtk-perl-list/2007-January/msg00005.html > > > > No change when using Readonly::XS > > > > any ideas? > > > > Versions: > > > > perl 5.8.8
> > > I've also encountered this. Specifically, it goops up bind parameters to > DBI calls because looks_like_number returns the wrong thing. This could > be a problem in Scalar::Util, though.
I looked a little further into it and I've posted an additional bug to the Scalar::Util distribution since it may be wrong there. That's CPAN RT ticket #26385.
From: coke [...] cpan.org
On Sun Apr 15 16:25:07 2007, HANENKAMP wrote: Show quoted text
> On Sun Apr 15 16:15:49 2007, HANENKAMP wrote:
> > On Thu Jan 04 10:41:05 2007, JENSL wrote:
> > > The 'looks_like_number' function doesn't handle Readonly variables
> > properly:
January/msg00005.html Show quoted text
> > > > > > No change when using Readonly::XS > > > > > > any ideas? > > > > > > Versions: > > > > > > perl 5.8.8
> > > > > > I've also encountered this. Specifically, it goops up bind
parameters to Show quoted text
> > DBI calls because looks_like_number returns the wrong thing. This
could Show quoted text
> > be a problem in Scalar::Util, though.
> > I looked a little further into it and I've posted an additional bug to > the Scalar::Util distribution since it may be wrong there. That's CPAN > RT ticket #26385.
https://rt.cpan.org/Public/Bug/Display.html?id=26385 is resolved, so presumably this ticket can be as well.
On Thu Jan 04 10:41:05 2007, JENSL wrote: Show quoted text
> The 'looks_like_number' function doesn't handle Readonly variables properly: > > http://mail.gnome.org/archives/gtk-perl-list/2007-January/msg00005.html > > No change when using Readonly::XS > > any ideas? > > Versions: > > perl 5.8.8
Upstream bug has since been resolved in perl itself. Thanks for the report! :) -- Sanko Robinson sanko@cpan.org