BSD Ports

devel/p5-Inline 0.87 MidnightBSD

Write Perl subroutines in other programming languages

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl
Categories
devel, perl5

Description

The Inline module allows you to put source code from other programming languages directly "inline" in a Perl script or module. The code is automatically compiled as needed, and then loaded for immediate access from Perl.

Inline saves you from the hassle of having to write and compile your own glue code using facilities like XS or SWIG. Simply type the code where you want it and run your Perl as normal. All the hairy details are handled for you. The compilation and installation of your code chunks all happen transparently; all you will notice is the delay of compilation on the first run.

The Inline code only gets compiled the first time you run it (or whenever it is modified) so you only take the performance hit once. Code that is Inlined into distributed modules (like on the CPAN) will get compiled when the module is installed, so the end user will never notice the compilation time.

In the other systems

SystemPortVersion
MidnightBSDdevel/p5-Inline0.87
FreeBSDdevel/p5-Inline0.87
OpenBSDdevel/p5-Inline0.52p1
NetBSDdevel/p5-Inline0.87nb1
DragonFlydevel/p5-Inline0.86
HardenedBSDdevel/p5-Inline0.87
GhostBSDdevel/p5-Inline0.87

Install

Binary package:

mport install p5-Inline

From mports:

cd /usr/mports/devel/p5-Inline && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Inline>0:devel/p5-Inline

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 2

Build dependencies 1
Run dependencies 1
Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 13
  • %%SITE_PERL%%/Inline.pm
  • %%SITE_PERL%%/Inline.pod
  • %%SITE_PERL%%/Inline/API.pod
  • %%SITE_PERL%%/Inline/FAQ.pod
  • %%SITE_PERL%%/Inline/Foo.pm
  • %%SITE_PERL%%/Inline/MakeMaker.pm
  • %%SITE_PERL%%/Inline/MakeMaker/Changes
  • %%SITE_PERL%%/Inline/Support.pod
  • %%SITE_PERL%%/Inline/denter.pm
  • %%PERL5_MAN3%%/Inline.3.gz
  • %%PERL5_MAN3%%/Inline::API.3.gz
  • %%PERL5_MAN3%%/Inline::FAQ.3.gz
  • %%PERL5_MAN3%%/Inline::Support.3.gz
distinfo 1
FileSizeSHA256
Inline-0.87.tar.gz88667105e4271ace1c1b5a264d771ff111d8b928b256002888222862c7be9686f39c5
Master sites 1
  • CPAN