Main > Programming > Libraries >

Filter::Macro 0.11

Filter::Macro 0.11

Sponsored Links

Filter::Macro 0.11 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 10 (1 times)
File size: 0.013 MB
Platform: Any Platform
License: MIT/X Consortium License
Price:
Downloads: 978
Date added: 2007-02-20
Publisher: Audrey Tang

Filter::Macro 0.11 description

Filter::Macro is a Perl module to make macro modules that are expanded inline.

SYNOPSIS

In MyHandyModules.pm:

package MyHandyModules;
use Filter::Macro;
# lines below will be expanded into callers code
use strict;
use warnings;
use Switch;
use IO::All;
use Quantum::Superpositions;

In your program or module:

use MyHandyModules; # lines above are expanded here

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.

One way to solve this problem is to use Filter::Include:

use Filter::Include;
include MyHandyModules;

However, it would be really nice if MyHandyModules.pm could define the macro-like semantic itself, instead of placing the burden on the caller.

This module lets you do precisely that. All you need to do is to put one line in MyHandyModules.pm, after the package MyHandyModules; line:

use Filter::Macro;

With this, 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.

Filter::Macro 0.11 Screenshot

Advertisements

Filter::Macro 0.11 Keywords

Bookmark Filter::Macro 0.11

Hyperlink code:
Link for forum:

Filter::Macro 0.11 Copyright

WareSeeker periodically updates pricing and software information of Filter::Macro 0.11 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Filter::Macro 0.11 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Filter::cpp is a cpp source filter. Free Download
Filter::decrypt Perl module contains a template for a decrypt source filter. Free Download
Inline::Filters Perl module contains common source code filters for Inline Modules. Free Download
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! Free Download
ptkmixer is a Perl Tk Audio Mixer with an easy-to-use GUI. Free Download
dtRdr::User.pm is a user class as a Perl module. Free Download
Site Tools is a collection of Modules for perl that allow easy template integration, SQL forms creation and many others. Free Download
gtk2-perl is the collective name for a set of perl bindings for Gtk+ 2.x and various related libraries. Free Download