perl-Filter-Macro
Make macro modules that are expanded inline
SRPM: perl-Filter-Macro-0.11-2.n0i.2.fc7.src.rpm SPEC: perl-Filter-Macro.spec Version: 0.11 Release: 2.n0i.2.fc7 Epoch: License: Artistic Group: Development/Libraries Size: 15481 Packager: Marius Feraru <altblue@n0i.net> Vendor: n0i.net URL: http://search.cpan.org/dist/Filter-Macro/ Date: Fri Jun 01 2007, 03:35 GMT
Description:
If many of your programs begin with the same lines, it may make sense to
abstract them away into a module, and "use" that module instead. Sadly, it
does not work that way, because by default, all lexical pragmas, source
filters and subroutine imports invoked in MyHandyModules.pm takes effect in
that module, *not* the calling programs.
With this module, a program or module that says "use Filter::Macro" will
expand lines below "use Filter::Macro" into their own code, instead of the
default semantic of evaluating them in the "MyHandyModules" package.
Line numbers in error and warning messages are unaffected by this module;
they still point to the correct file name and line numbers.
abstract them away into a module, and "use" that module instead. Sadly, it
does not work that way, because by default, all lexical pragmas, source
filters and subroutine imports invoked in MyHandyModules.pm takes effect in
that module, *not* the calling programs.
With this module, a program or module that says "use Filter::Macro" will
expand lines below "use Filter::Macro" into their own code, instead of the
default semantic of evaluating them in the "MyHandyModules" package.
Line numbers in error and warning messages are unaffected by this module;
they still point to the correct file name and line numbers.
Changelog:
- Tue May 22 2007 Marius Feraru <altblue@n0i.net> - 0.11-2.n0i.2
- spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - Sat May 13 2006 Marius Feraru <altblue@n0i.net> 0.11-1.n0i.1
- spec file (re)created using N0i::CPAN::RPMizer v1.12.1
- rebuild on perl 5.8.8
Files:
- Filter-Macro-0.11.tar.gz
- perl-Filter-Macro.spec
Requires:
- perl(ExtUtils::MakeMaker)
- perl(Filter::Simple::Compile)
- reb00t-rpmdevtools
- rpmlib(CompressedFileNames)