Jacques Deguest

Results 13 comments of Jacques Deguest

> This will cause the bind parameter to have the type `character`, which truncates the input to just one character. I had tried it with `PG_VARCHAR` or `PG_TEXT`, but it...

> Examination of the source code in `dist/Storable/Storable.xs` shows that this error message is a default (fallback) response generated only when one of about 7 other conditions is not met....

> I don't see a declaration of, or assignment to, `$uri`. Do not worry about this. `$uri` is declared. It just does not show in this extract. I could track...

> Giving an incomplete extract is not very helpful when people try to reproduce your problem. Sure. I will be more careful.

> Can you reduce it to a complete but actually minimal example? Yes. I thought I did in the revised snippet [posted](https://github.com/Perl/perl5/issues/19964#issuecomment-1188404898)

> BBB: Can't store GLOB items at /home/jkeenan/testing/v5.36.0/lib/perl5/5.36.0/amd64-freebsd-thread-multi/Storable.pm line 370, at gh-19964-xyz.pl line 11. Can this be managed, though? One does not always have direct control over a possible glob...

I think it would be useful and fair play to check if the package has a subroutine STORABLE_thaw to give it a chance to return a proper glob object. Currently,...

I do not understand all the intricacies of the inner working of Storable, so please bear with my ignorance, or naive comment. Right now, for glob type objects, to avoid...

> I could change the code that calls `STORABLE_thaw` to use the return value instead of passing in an object I am not sure I understand. This does not align...

Here is what I did to make it work. I changed the subroutine `Storable::thaw` to the following that I called instead: ```perl sub thaw { my ($frozen, $flags) = @_;...