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:

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.