• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

t/H04-Aug-2017-1,9171,463

ChangesH A D04-Aug-20179.1 KiB219175

MANIFESTH A D04-Aug-2017821 5756

META.jsonH A D04-Aug-20171.4 KiB6160

META.ymlH A D04-Aug-2017777 3332

Makefile.PLH A D04-Aug-201710.8 KiB341265

Makefile.pre.inH A D22-Jan-20159.9 KiB305244

Python.pmH A D04-Aug-201710.3 KiB404294

Python.podH A D22-Jan-201523.5 KiB791536

Python.xsH A D04-Nov-201617 KiB662519

READMEH A D08-Oct-20142 KiB6642

Setup.inH A D22-Jan-201051 32

TESTEDH A D22-Jan-20101.1 KiB3733

ToDoH A D22-Jan-20101.1 KiB2321

perlmodule.cH A D13-Jun-201735.4 KiB1,2551,014

perlmodule.hH A D28-Oct-20162.8 KiB8356

py2pl.cH A D04-Jul-201719.5 KiB602467

py2pl.hH A D12-Dec-2014231 139

util.cH A D08-Oct-20143.3 KiB12599

util.hH A D08-Oct-20141.7 KiB6947

README

1INTRODUCTION:
2
3Inline::Python -- Write Perl subs and classes in Python.
4
5Inline::Python lets you write Perl subroutines and classes in
6Python. You don't have to use any funky techniques for sharing most
7types of data between the two languages, either. Inline::Python comes
8with its own data translation service. It converts any Python structures
9it knows about into Perl structures, and vice versa.
10
11Example:
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
20When run, this complete program prints:
21
22   Just Another Inline Hacker.
23
24The 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-------------------------------------------------------------------------------
29INSTALLATION:
30
31This module requires Inline.pm version 0.46 or higher to be installed. In
32addition, you need Python 2.5 or greater installed. Python 2.6, Python 3.2 or greater
33is recommended.
34
35Python has to be configured with --enable-shared. Linux distribution packages
36should be fine, but keep it in mind if you compile Python yourself.
37
38To install Inline::Python do this:
39
40perl Makefile.PL
41make
42make test
43make install
44
45(On ActivePerl for MSWin32, use nmake instead of make.)
46
47You have to 'make install' before you can run it successfully.
48
49-------------------------------------------------------------------------------
50INFORMATION:
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
56The Inline::Python mailing list is inline@perl.org. Send mail to
57inline-subscribe@perl.org to subscribe.
58
59Please send questions and comments to "Stefan Seifert" <NINE@cpan.org>
60
61Copyright (c) 2000, Neil Watkiss. All Rights Reserved. This module is free software.
62It 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
66