1Inline-Support(3) User Contributed Perl Documentation Inline-Support(3)
2
3
4
6 Inline-Support - Support Information for Inline.pm and related modules.
7
9 This document contains all of the latest support information for
10 "Inline.pm" and the recognized Inline Language Support Modules (ILSMs)
11 available on CPAN.
12
14 The most important language that Inline supports is "C". That is
15 because Perl itself is written in "C". By giving a your Perl scripts
16 access to "C", you in effect give them access to the entire glorious
17 internals of Perl. (Caveat scriptor :-)
18
19 As of this writing, Inline also supports:
20
21 - C++
22 - Java
23 - Python
24 - Tcl
25 - Assembly
26 - CPR
27 - And even Inline::Foo! :)
28
29 Projects that I would most like to see happen in the year 2001 are:
30
31 - Fortran
32 - Ruby
33 - Lisp
34 - Guile
35 - Bash
36 - Perl4
37
39 "Inline::C" should work anywhere that CPAN extension modules (those
40 that use XS) can be installed, using the typical install format of:
41
42 perl Makefile.PL
43 make
44 make test
45 make install
46
47 It has been tested on many Unix and Windows variants.
48
49 NOTE: "Inline::C" requires Perl 5.005 or higher because
50 "Parse::RecDescent" requires it. (Something to do with the "qr"
51 operator)
52
53 Inline has been successfully tested at one time or another on the
54 following platforms:
55
56 Linux
57 Solaris
58 SunOS
59 HPUX
60 AIX
61 FreeBSD
62 OpenBSD
63 BeOS
64 OS X
65 WinNT
66 Win2K
67 WinME
68 Win98
69 Cygwin
70
71 The Microsoft tests deserve a little more explanation. I used the
72 following:
73
74 Windows NT 4.0 (service pack 6)
75 Perl 5.005_03 (ActiveState build 522)
76 MS Visual C++ 6.0
77 The "nmake" make utility (distributed w/ Visual C++)
78
79 "Inline::C" pulls all of its base configuration (including which "make"
80 utility to use) from "Config.pm". Since your MSWin32 version of Perl
81 probably came from ActiveState (as a binary distribution) the
82 "Config.pm" will indicate that "nmake" is the system's "make" utility.
83 That is because ActiveState uses Visual C++ to compile Perl.
84
85 To install "Inline.pm" (or any other CPAN module) on MSWin32 w/ Visual
86 C++, use these:
87
88 perl Makefile.PL
89 nmake
90 nmake test
91 nmake install
92
93 Inline has also been made to work with Mingw32/gcc on all Windows
94 platforms. This is a free compiler for Windows. You must also use a
95 perl built with that compiler.
96
97 The "Cygwin" test was done on a Windows 98 machine using the Cygwin
98 Unix/Win32 porting layer software from Cygnus. The "perl" binary on
99 this machine was also compiled using the Cygwin tool set ("gcc"). This
100 software is freely available from http://sources.redhat.com/cygwin/
101
102 If you get Inline to work on a new platform, please send me email
103 email. If it doesn't work, let me know as well and I'll see what can
104 be done.
105
107 For general information about Inline see Inline.
108
109 For information about using Inline with C see Inline::C.
110
111 For sample programs using Inline with C see Inline::C-Cookbook.
112
113 For information on writing your own Inline Language Support Module, see
114 Inline-API.
115
116 Inline's mailing list is inline@perl.org
117
118 To subscribe, send email to inline-subscribe@perl.org
119
121 Brian Ingerson <INGY@cpan.org>
122
124 Copyright (c) 2000-2002. Brian Ingerson.
125
126 Copyright (c) 2008, 2010, 2011. Sisyphus.
127
128 This program is free software; you can redistribute it and/or modify it
129 under the same terms as Perl itself.
130
131 See http://www.perl.com/perl/misc/Artistic.html
132
133
134
135perl v5.16.3 2012-11-20 Inline-Support(3)