example/perlre.pl - Erlang::Port example
example/$ erl 1> perlre:start("perl -Mblib perlre.pl"). #Port<0.94> 2> perlre:match("abc", "(\\w+)(.+)"). ["ab","c"]
Example for Erlang::PerlPort.
Start script in an erlang external port. Default is "perlre.pl".
Stop port.
execute $String =~ $Regexp in perl interpreter.
Erlang::Port
To install Erlang::Port, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Erlang::Port
CPAN shell
perl -MCPAN -e shell install Erlang::Port
For more information on module installation, please visit the detailed CPAN module installation guide.