NAME
K::Raw - Low-level Perl bindings for k (aka q, aka kdb, aka kx)
SYNOPSIS
use K::Raw;
my $handle = khpu("localhost", $port, "");
my $handle = khpun("localhost", $port, "", $timeout_in_millis);
k($handle, '4 + 4'); # 8
k($handle, q/"abc"/); # ['a', 'b', 'c']
k($handle, q/`foo`bar!(1;2)/); # { foo => 1, bar => 2 }
k($handle, q/2012.03.24D12:13:14.15161728/); # '385906394151617280'
# execute cmd asynchrounously
k(-$handle, q/.u.upd[`t;(`foo;1.23)]/);
# read an incoming message
my $msg = k($handle);
kclose($handle);
DESCRIPTION
K::Raw
wraps the C library defined by k.h and described here http://code.kx.com/wiki/Cookbook/InterfacingWithC .
SUBS
khpu
khpun
k
kclose
SEE ALSO
K, Kx, http://kx.com
REPOSITORY
http://github.com/wjackson/k-perl
AUTHORS
Whitney Jackson <whitney@cpan.org>
COPYRIGHT & LICENSE
Copyright (c) 2011 Whitney Jackson. All rights reserved This program is
free software; you can redistribute it and/or modify it under the same
terms as Perl itself.