The Inline::Python module allows you to put Python source code directly inline in a Perl script or module. It sets up an in-process Python interpreter, runs your code, and then examines Python's symbol table for things to bind to Perl. The process of interrogating the Python interpreter for globals only occurs the first time you run your Python code. The namespace is cached, and subsequent calls use the cached version.
The Inline::Python module allows you to put Python source code directly inline in a Perl script or module. It sets up an in-process Python interpreter, runs your code, and then examines Python's symbol table for things to bind to Perl. The process of interrogating the Python interpreter for globals only occurs the first time you run your Python code. The namespace is cached, and subsequent calls use the cached version.
To install p5.34-inline-python, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install p5.34-inline-python
To see what files were installed by p5.34-inline-python, run:
port contents p5.34-inline-python
To later upgrade p5.34-inline-python, run:
sudo port selfupdate && sudo port upgrade p5.34-inline-python
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.