Skip to main content

Perl Inline

Perl never runs out of wonderful stuff to offer. Ever thought of inserting C/C++ code inline in Perl? That means running compiled code and interpreted code side by side.!

Debian-package exists as below:
mynixbox:~# apt-cache search perl | grep inline
libinline-octave-perl - Perl5 module to Inline GNU Octave code
libinline-perl - Write Perl subroutines in other programming languages
libtest-inline-perl - Embed tests and code examples in POD
Although I haven't tried it yet, I think this would be ideal for cronjobs, which need to do the same thing again and again.

Major efficiency can also be gained by being able to include pre-compiled libraries which need not be compiled at Perl-run-time.