| Module-Compile-Simple documentation | view source | Contained in the Module-Compile-Simple distribution. |
Module::Compile::Simple - Even Simpler Perl Module Compilation
package Foo;
use Module::Compile::Simple;
transform($source);
In Bar.pm
package Bar;
use Foo;
...
no Foo
Module::Compile::Simple makes it easier to write Module::Compile
modules, doing compile-time source filtering.
After using Module::Compile::Simple, apply transformation on
$source.
Make this work:
use Module::Compile::Simple '$source';
Chia-liang Kao <clkao@clkao.org>
Copyright (c) 2006. Chia-liang Kao. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Module-Compile-Simple documentation | view source | Contained in the Module-Compile-Simple distribution. |