embedded perl for erlang