OlegG has asked for the wisdom of the Perl Monks concerning the following question:
But is it possible to filter some other module before including it in my code? Smth likepackage Foo; use Filter::cpp; ...
package Foo; use strict; use_filtered Bar; # instead of "use Bar"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Source filters: filter some module before including in my package
by Corion (Patriarch) on Sep 15, 2011 at 14:49 UTC | |
by OlegG (Monk) on Sep 15, 2011 at 15:00 UTC | |
by OlegG (Monk) on Sep 15, 2011 at 16:33 UTC | |
by OlegG (Monk) on Sep 15, 2011 at 16:40 UTC | |
|
Re: Source filters: filter some module before including in my package
by afoken (Chancellor) on Sep 15, 2011 at 14:51 UTC | |
by OlegG (Monk) on Sep 15, 2011 at 15:04 UTC |