NAME

poikc - POK IKC (poeikcd) Client

SYNOPSIS

poikc -H hostname [options] args...
poikc -H remote_hostname -p=47225 -a=POEIKCd -s=m -o=y MyClass my_method args...

Options:

-H  --HOST=s         : default 127.0.0.1 

-p  --port=#         : Port number to use for connection.
                       default 47225 

-a  --alias=s        : session alias
                       default POEIKCd 
                       eg)
                         -a=my_session_ailas

-s  --state_name=s   : state_name (method_respond | function_respond |
                       event_respond | eval_respond | stop_respond)
                       eg)
                         -s=m | -s=f | -s=e | -s=eval
                         -state_name=my_event_name

-I  --INC=s          : specify @INC/#include directory
                       eg1) -I ~/lib:/mylib/ or -I ~/lib -I /foo/lib/
                       eg2) poikc -I '$ENV{HOME}/lib'


--inc_=delete ~/lib  : deletes from @INC.
--inc_=reset         : @INC is reset.

--Utility=s          : POEIKCdaemon::Utility It is shortcut.
                      eg) poikc -U=get_VERSION
                      -U=get_stay, -U=get_load, -U=get_H_INC, -U=get_E_ENV

-o  --output|out=s   : output method 
                      -o y | -output=YAML
                      -o d | -output=Dumper   (Data::Dumper)

-Display             : The parameter given to post_respond is confirm.

-h  --help

@INC Operation

poikc  -I                     ( print Dumper \@INC )
poikc  -I ./t                 ( unshift @INC, './t' )
poikc --inc_=delete ./t       ( @INC = grep {$_ ne './t'} @INC )
poikc --inc_=reset

pokikcd server stop ( Please specify a host name.)

poikc -H=hostname stop 

eg:

poikc -s=e -o=y alias my_method args1 args2
poikc -U get_VERSION
poikc -o d -U publish_IKC my_alias_name my_package_name
poikc -o d -U publish_IKC my_alias_name _list event_1 event_2 ..
poikc -s=function_respond LWP::Simple get http://search.cpan.org/~suzuki/
poikc -s=eval_respond 'scalar `ps ux`'

DESCRIPTION

poikc is POE IKC (poeikcd) Client

AUTHOR

Yuji Suzuki <yuji.suzuki.perl@gmail.com>

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

poeikcd POE::Component::IKC::ClientLite