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 "Parse::RecDes‐
50 cent" requires it. (Something to do with the "qr" operator)
51
52 Inline has been successfully tested at one time or another on the fol‐
53 lowing platforms:
54
55 Linux
56 Solaris
57 SunOS
58 HPUX
59 AIX
60 FreeBSD
61 OpenBSD
62 BeOS
63 OS X
64 WinNT
65 Win2K
66 WinME
67 Win98
68 Cygwin
69
70 The Microsoft tests deserve a little more explanation. I used the fol‐
71 lowing:
72
73 Windows NT 4.0 (service pack 6)
74 Perl 5.005_03 (ActiveState build 522)
75 MS Visual C++ 6.0
76 The "nmake" make utility (distributed w/ Visual C++)
77
78 "Inline::C" pulls all of its base configuration (including which "make"
79 utility to use) from "Config.pm". Since your MSWin32 version of Perl
80 probably came from ActiveState (as a binary distribution) the "Con‐
81 fig.pm" will indicate that "nmake" is the system's "make" utility. That
82 is because ActiveState uses Visual C++ to compile Perl.
83
84 To install "Inline.pm" (or any other CPAN module) on MSWin32 w/ Visual
85 C++, use these:
86
87 perl Makefile.PL
88 nmake
89 nmake test
90 nmake install
91
92 Inline has also been made to work with Mingw32/gcc on all Windows plat‐
93 forms. This is a free compiler for Windows. You must also use a perl
94 built with that compiler.
95
96 The "Cygwin" test was done on a Windows 98 machine using the Cygwin
97 Unix/Win32 porting layer software from Cygnus. The "perl" binary on
98 this machine was also compiled using the Cygwin tool set ("gcc"). This
99 software is freely available from http://sources.redhat.com/cygwin/
100
101 If you get Inline to work on a new platform, please send me email
102 email. If it doesn't work, let me know as well and I'll see what can
103 be done.
104
106 For general information about Inline see Inline.
107
108 For information about using Inline with C see Inline::C.
109
110 For sample programs using Inline with C see Inline::C-Cookbook.
111
112 For information on writing your own Inline Language Support Module, see
113 Inline-API.
114
115 Inline's mailing list is inline@perl.org
116
117 To subscribe, send email to inline-subscribe@perl.org
118
120 Brian Ingerson <INGY@cpan.org>
121
123 Copyright (c) 2000, 2001, 2002. Brian Ingerson. All rights reserved.
124
125 This program is free software; you can redistribute it and/or modify it
126 under the same terms as Perl itself.
127
128 See http://www.perl.com/perl/misc/Artistic.html
129
130
131
132perl v5.8.8 2002-10-28 Inline-Support(3)