NAME
Erlang::Port - Erlang External Port
VERSION
Version 0.04
SYNOPSIS
use Erlang::Port;
my $port = Erlang::Port->new(sub{ ... });
$port->loop();
EXPORT
No functions are exported by this module.
METHODS
$pkg->new(\&CALLBACK);
$port->loop();
Wait request and Process it.
$pkg->encode($obj);
Encode Erlang obj into external sequence.
$pkg->decode($bytes);
Decode external sequence into Erlang object.
$pkg->to_s($obj);
Make string form of $obj.
EXAMPLES
See examples/ directory in this distribution.
examples/perlre.erl has match(String, RegExp) and gsub(String, RegExp, Replacement).
examples/perleval.erl has eval(String) and set(VarName, AnyObject).
AUTHOR
YAMASHINA Hio, <hio at cpan.org>
BUGS
Please report any bugs or feature requests to bug-erlang-port at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Erlang-Port. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Erlang::Port
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
RT: CPAN's request tracker
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2007 YAMASHINA Hio, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.