forked from rurban/Inline-Filters
-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
79 lines (52 loc) · 1.71 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
INTRODUCTION:
Inline::Filters -- Common source code filters for Inline Modules.
Inline::Filters provides common source code filters to Inline Language
Modules like Inline::C and Inline::CPP.
Example:
use Inline C => DATA => FILTERS => [Strip_POD => Preprocess];
print "5 + 7 = ", add(5, 7);
__END__
__C__
=head1 add
Returns the sum of two integers x and y
=cut
#ifdef USE_LONG
long
#else
int
#endif
add (int x, int y) { return x + y; }
When run, this complete program prints:
5 + 7 = 12
-----------------------------------------------------------------------------
FEATURES:
This is a minor release of Inline::Filters. It includes these filters:
+ Preprocess
+ All languages
+ Strip_Comments
+ C
+ C++
+ Java
+ Python
+ Strip_POD
+ All languages
As a bonus, the documentation has greatly improved.
-----------------------------------------------------------------------------
INSTALLATION:
This module requires Inline.pm version 0.42 or higher to be installed.
To install Inline::Filters do this:
perl Makefile.PL
make
make test
make install
(On ActivePerl for MSWin32, use nmake instead of make.)
You have to 'make install' before you can run it successfully.
-----------------------------------------------------------------------------
INFORMATION:
- For more information on Inline::Filters see 'perldoc Inline::Filters'.
- For information about Inline.pm, see 'perldoc Inline'.
- For information on using Perl with C see 'perldoc Inline::C'.
The Inline mailing list is inline@perl.org. Send mail to
inline-subscribe@perl.org to subscribe.
Please send questions and comments to "Neil Watkiss" <NEILW@cpan.org>
Copyright (c) 2000, Neil Watkiss. All Rights Reserved.