Install libperl4caml-ocaml-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libperl4caml-ocaml-dev
Use Perl code in OCaml programs, development files
perl4caml allows you to use Perl code within Objective CAML (OCaml), thus neatly side-stepping the old problem with OCaml which was that it lacked a comprehensive set of libraries. Well now you can use any part of CPAN in your OCaml code. . This package provides the tools necessary to use perl4caml in your own programs. To get the documentation, please install libperl4caml-ocaml-doc.