File: HandlerSocket.pm

package info (click to toggle)
mariadb-10.0 10.0.16-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 416,512 kB
  • sloc: cpp: 1,351,103; ansic: 803,086; perl: 59,621; pascal: 32,136; sh: 25,156; yacc: 14,897; xml: 5,194; sql: 4,651; cs: 4,647; makefile: 4,113; python: 2,526; ruby: 2,496; lex: 1,427; asm: 295; awk: 54; php: 22; sed: 16
file content (68 lines) | stat: -rw-r--r-- 1,589 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68

package Net::HandlerSocket;

use strict;
use warnings;

require Exporter;

our @ISA = qw(Exporter);

# Items to export into callers namespace by default. Note: do not export
# names by default without a very good reason. Use EXPORT_OK instead.
# Do not simply export all your public functions/methods/constants.

# This allows declaration	use Net::HandlerSocket ':all';
# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
# will save memory.
our %EXPORT_TAGS = ( 'all' => [ qw(
	
) ] );

our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );

our @EXPORT = qw(
	
);

our $VERSION = '0.01';

require XSLoader;
XSLoader::load('Net::HandlerSocket', $VERSION);

# Preloaded methods go here.

1;
__END__
# Below is stub documentation for your module. You'd better edit it!

=head1 NAME

Net::HandlerSocket - Perl extension for blah blah blah

=head1 SYNOPSIS

  use Net::HandlerSocket;
  my $hsargs = { host => 'localhost', port => 9999 };
  my $cli = new Net::HandlerSocket($hsargs);
  $cli->open_index(1, 'testdb', 'testtable1', 'PRIMARY', 'foo,bar,baz');
  $cli->open_index(2, 'testdb', 'testtable2', 'i2', 'hoge,fuga');
  $cli->execute_find(1, '>=', [ 'aaa', 'bbb' ], 5, 100);
	# select foo,bar,baz from testdb.testtable1
	# 	where pk1 = 'aaa' and pk2 = 'bbb' order by pk1, pk2
	# 	limit 100, 5

=head1 DESCRIPTION

Stub documentation for Net::HandlerSocket, created by h2xs.

=head1 AUTHOR

Akira HiguchiE<lt>higuchi dot akira at dena dot jpE<gt>

=head1 COPYRIGHT AND LICENSE

Copyright (C) 2010 DeNA Co.,Ltd.. All rights reserved.
See COPYRIGHT.txt for details.

=cut