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

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

Serving Software Downloads in 976 Categories, Downloaded 29.547.641 Times

Filter::Macro 0.11

  Date Added: October 01, 2010  |  Visits: 721


Report Broken Link
Printer Friendly Version

Product Homepage
Download (86 downloads)

Filter::Macro is a Perl module to make macro modules that are expanded inline. SYNOPSIS In 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 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 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, 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
More Reviews or Write Review

Libraries  -  Module::Build 0.2808
Module::Build is a Perl module for build and install Perl modules. SYNOPSIS Standard process for building & installing modules: perl Build.PL ./Build ./Build test ./Build install Or, if youre on a platform (like DOS or Windows) that...
184.32 KB  
Libraries  -  Module::Starter::Smart 0.0.2
Module::Starter::Smart is a Perl module that lets you add new modules into an existing distribution. SYNOPSIS use Module::Starter qw/Module::Starter::Simple Module::Starter::Smart/; Module::Starter->create_distro(%args); # or in...
4.1 KB  
Libraries  -  PDL::API 2.4.3
PDL::API is a Perl module for making piddles from Perl and C/XS code. A simple cookbook how to create piddles manually. It covers both the Perl and the C/XS level. Additionally, it describes the PDL core routines that can be accessed from other...
2.1 MB  
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  -  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  
Network & Internet  -  MyCMS perl module 1.0
MyCMS perl module provides the MN::CMS Perl module used by the MyCMS. MyCMS perl module contains Perl object classes to manage the data of MyCMS (such as articles, links, and images). MN::CMS is a perl module that allows you to manage an...
16.38 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  
Libraries  -  Clone 0.23
Clone is a Perl module that can recursively copy Perl datatypes. SYNOPSIS use Clone; push @Foo::ISA, Clone; $a = new Foo; $b = $a->clone(); # or use Clone qw(clone); $a = { foo => bar, move => zig }; $b = [ alpha, beta, gamma,...
10.24 KB  
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  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
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  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB