Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
$ perl -MJudy::L=Set -e 'Set($j, 1<<63, 123)' Coercing -9223372036854775808 to 0. Can't use negative values as keys. + at -e line 1.
Can anyone please test if they get same error? Argument can't be treated as signed int by design, can it? Or is my system/Perl/Judy broken?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Unsigned 64-bit integer as Judy key
by swl (Prior) on Dec 07, 2022 at 06:04 UTC | |
|
Re: Unsigned 64-bit integer as Judy key
by bliako (Abbot) on Dec 07, 2022 at 08:27 UTC | |
by Anonymous Monk on Dec 07, 2022 at 14:16 UTC | |
by Anonymous Monk on Dec 07, 2022 at 21:56 UTC | |
by ikegami (Patriarch) on Dec 09, 2022 at 05:19 UTC | |
by Anonymous Monk on Dec 09, 2022 at 10:06 UTC | |
| |
|
Re: Unsigned 64-bit integer as Judy key
by 1nickt (Canon) on Dec 06, 2022 at 23:17 UTC | |
|
Re: Unsigned 64-bit integer as Judy key
by Corion (Patriarch) on Dec 07, 2022 at 08:23 UTC |