Skip to content
marcontk edited this page Nov 12, 2024 · 21 revisions

Welcome to the IPerl wiki!

IPerl allows you to use Jupyter with the Perl programming language.

List of IPerl Notebooks

Projects

  • HackaMol: computational chemistry and molecular modelling

Users

Add yourself below! You can use an nbviewer link so that the notebooks can be viewed directly in the browser.

Installation tips

kernel.json

You need something like this in your './.pyenv/versions/3.9.6/envs/my-jupyterlab-env/share/jupyter/kernels/perl5/kernel.json' file:-

{
    "argv": [
        "perl",
        "-MDevel::IPerl",
        "-e",
        "Devel::IPerl->main('{connection_file}')",
        "kernel",
        "{connection_file}"
    ],
    "display_name": "Perl 5.38",
    "language": "perl"
}

In macOS Sonoma 14.6.1 same as above './/Library/Jupyter/kernels/iperl/kernel.json'. Also works very well in VScode.

{
    "iperl_version":"0.012",
    "argv": [
        "/opt/local/bin/perl5.34",
        "-Mutf8",
        "-Mopen qw(:std :encoding(UTF-8))",
        "-MDevel::IPerl",
        "-e Devel::IPerl::main",
        "kernel",
        "{connection_file}"
    ],
    "language":"perl",
    "display_name":"IPerl 0.012"
}
Iperl_VScode_jupyter_notebook
Clone this wiki locally