Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.472.576 Times

Filter::Macro 0.11

  Date Added: October 01, 2010  |  Visits: 1.192

Filter::Macro

Report Broken Link
Printer Friendly Version


Product Homepage
Download (104 downloads)



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..

Requirements: No special requirements
Platforms: Linux
Keyword: Expanded Filtermacro Libraries Lines Macro Module Modules Myhandymodules Pm Perl Perl Module Programming To Make
Users rating: 0/10

License: Freeware Size: 13.31 KB
USER REVIEWS
More Reviews or Write Review


FILTER::MACRO RELATED
Libraries  -  HTML::Template 2.9
HTML::Template module attempts to make using HTML templates simple and natural. HTML::Template library extends standard HTML with a few new tags for variables, loops, if/else blocks and includes. A file written with HTML and these new tags is...
62.46 KB  
Modules  -  Points Voting Recommender 6.x-1.0-beta1
This module is to make recommendations for points-based voting modules including Vote Up/Down and Plus 1. You have to enable either of them in order to use this module.This module looks very much like the Fivestar Recommender, except that this...
10 KB  
Development Tools  -  PDFMap 2.0
PDFMap is both a command line tool, a CGI script and a Python language module, designed to make the automated generation of very high quality interactive maps in the PDF format easy. PDFMap can place different objects on a rasterized map...
 
Modules  -  HTML::Template 2.9
This module attempts to make using HTML templates simple and natural. It extends standard HTML with a few new HTML-esque tags - , , , , and . The file written with HTML and these new tags is called a template. It is usually saved separate from...
 
Modules  -  Media: MegaVideo 6.x-1.2
Misery is a module designed to make life difficult for certain users.
10 KB  
Libraries  -  vars::global 0.0.1
vars::global is a Perl module that tries to make global variables a little safer. SYNOPSIS # In the place/package where we want to create globals use vars::global create => qw( $foo @bar %baz ); # Add some more global symbols...
7.17 KB  
Libraries  -  GPS::Lowrance 0.31
GPS::Lowrance is a Perl module connect to Lowrance and Eagle GPS devices. REQUIREMENTS The following modules are required to use this module: Carp::Assert GPS::Lowrance::LSI 0.23 Parse::Binary::FixedFormat Win32::SerialPort or...
22.53 KB  
Libraries  -  NestedMap 1.0
NestedMap is a module to make nesting map{}s inside map{}s easierc. SYNOPSIS # show all combinations of (A,B,C) (a,b,c) and (1,2,3) print join("n", nestedmap { nestedmap { nestedmap { join(,@NestedMap::stack[0..2]) } qw(A B C) } qw(a b...
3.07 KB  
Libraries  -  Convert::Recode 1.04
Convert::Recode is a Perl module to make mapping functions between character sets. SYNOPSIS use Convert::Recode qw(ebcdic_to_ascii); while ( ) { print ebcdic_to_ascii($_); } The Convert::Recode module can provide mapping functions...
3.07 KB  
Libraries  -  GD::Graph::Polar 0.15
GD::Graph::Polar is a Perl module to make polar graph using GD package. SYNOPSIS use GD::Graph::Polar; my $obj=GD::Graph::Polar->new(size=>480, radius=>100); $obj->addPoint (50=>25); $obj->addPoint_rad (50=>3.1415); $obj->addGeoPoint...
47.1 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB