Re: List support in Net::Async::CassandraCQL ?

2014-03-06 Thread Paul "LeoNerd" Evans
actual error, your use of Future->needs_all on a list of a single future is totally redundant there. You can replace that with simply $q->execute(...)->get; Secondly, it's a little hard for me to reproduce this one locally without seeing the table definition. Could you supply the CQL

Re: CQL decimal encoding

2014-02-24 Thread Paul "LeoNerd" Evans
s 0 * 10**0 literally zero. Technically the decimal shift matters not for zero - any four bytes could be given as the shift, ending in \x00, but 0 is the simplest. -- Paul "LeoNerd" Evans leon...@leonerd.org.uk ICQ# 4135350 | Registered Linux# 179460 http://www.leonerd.org.uk/ s

Re: CQL decimal encoding

2014-02-24 Thread Paul "LeoNerd" Evans
ts to make sure > data is cross platform compatible. Maybe examples like this should be taken as a comment to the core developers: Document your stuff better ;) We client authors shouldn't have to do these reverse-engineering hacks. It should have been written down in the spec. -- Pau

Re: CQL decimal encoding

2014-02-24 Thread Paul "LeoNerd" Evans
aCQL-0.11/lib/Protocol/CassandraCQL/Type.pm#L181 And the unit tests live here: https://metacpan.org/source/PEVANS/Protocol-CassandraCQL-0.11/t/02types.t#L111 -- Paul "LeoNerd" Evans leon...@leonerd.org.uk ICQ# 4135350 | Registered Linux# 179460 http://www.leonerd.org.uk/ signature.asc Description: PGP signature

[OT]: Can I have a non-delivering subscription?

2014-02-22 Thread Paul "LeoNerd" Evans
st, I usually do so on the online archives and not by mail. Is it possible to have a non-delivering subscription, which would let me send messages, but doesn't deliver anything back to me? -- Paul "LeoNerd" Evans leon...@leonerd.org.uk ICQ# 4135350 | Registere

Re: List support in Net::Async::CassandraCQL ?

2014-02-22 Thread Paul "LeoNerd" Evans
> Cannot encode address: not an ARRAY > at /usr/local/share/perl/5.14.2/Net/Async/CassandraCQL/Query.pm line > 182 It needs to arrive as an ARRAYref: $q->execute([$name, \@address, $uuid]); Or if you'd prefer you can use named bindings: $q->execute({name => $name, ad