Hi all,

I have just released Inline::Filters to the CPAN. This module contains
common source filters you can use with Inline::C and Inline::CPP. For
example, it contains 'Strip_POD', a filter which strips POD embedded in
your Inline C or C++ code.

You can get Inline::Filters from the following address:

  http://search.cpan.org/search?dist=Inline-Filters

Later,
Neil

>From the README:

----8<----
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 the first release of Inline::Filters. It includes these filters:

+ Strip_POD
  + All languages
+ Strip_Comments
  + C
  + C++
  + Java
  + Python
+ Preprocess
  + C
  + C++

-----------------------------------------------------------------------------
INSTALLATION:

This module requires Inline.pm version 0.33 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 [EMAIL PROTECTED] Send mail to
[EMAIL PROTECTED] to subscribe.

Please send questions and comments to "Neil Watkiss" <[EMAIL PROTECTED]>

Copyright (c) 2000, Neil Watkiss. All Rights Reserved.
---->8----

Reply via email to