Debian Codegraph @

README

raw
1 INTRODUCTION:
2
3 Inline::Python -- Write Perl subs and classes in Python.
4
5 Inline::Python lets you write Perl subroutines and classes in
6 Python. You don't have to use any funky techniques for sharing most
7 types of data between the two languages, either. Inline::Python comes
8 with its own data translation service. It converts any Python structures
9 it knows about into Perl structures, and vice versa.
10
11 Example:
12
13 use Inline Python => <<'END';
14 def JAxH(x):
15 return "Just Another %s Hacker" % x
16 END
17
18 print JAxH('Inline'), "\n";
19
20 When run, this complete program prints:
21
22 Just Another Inline Hacker.
23
24 The almost-one-line version is:
25
26 perl -le 'use Inline Python=>q{def JAxH(x):return"Just Another %s Hacker"%x};print JAxH+Inline'
27
28 -------------------------------------------------------------------------------
29 INSTALLATION:
30
31 This module requires Inline.pm version 0.46 or higher to be installed. In
32 addition, you need Python 2.5 or greater installed. Python 2.6, Python 3.2 or greater
33 is recommended.
34
35 Python has to be configured with --enable-shared. Linux distribution packages
36 should be fine, but keep it in mind if you compile Python yourself.
37
38 To install Inline::Python do this:
39
40 perl Makefile.PL
41 make
42 make test
43 make install
44
45 (On ActivePerl for MSWin32, use nmake instead of make.)
46
47 You have to 'make install' before you can run it successfully.
48
49 -------------------------------------------------------------------------------
50 INFORMATION:
51
52 - For more information on Inline::Python see 'perldoc Inline::Python'.
53 - For information about Inline.pm, see 'perldoc Inline'.
54 - For information on using Python or the Python C API, visit http://www.python.org.
55
56 The Inline::Python mailing list is [email protected]. Send mail to
57 [email protected] to subscribe.
58
59 Please send questions and comments to "Stefan Seifert" <[email protected]>
60
61 Copyright (c) 2000, Neil Watkiss. All Rights Reserved. This module is free software.
62 It may be used, redistributed and/or modified under the same terms as Perl itself.
63
64 (see http://www.perl.com/perl/misc/Artistic.html)
65