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

Hook::PrePostCall 1.2 Alpha

  Date Added: February 27, 2010  |  Visits: 670

Hook::PrePostCall 1.2

Report Broken Link
Printer Friendly Version


Product Homepage
Download (88 downloads)



Hook::PrePostCall is a Perl module that can add actions before and after a routine. SYNOPSIS require 5.000; use Hook::PrePostCall; sub try { print STDERR "in try: @_n"; @_; } PrePostCall->new( try, sub { print STDERR "pre: @_n"; # process the @_ content...if you want @_; # defines the try arguments }, sub { print STDERR "post: @_n"; # process the @_ content...if you want @_; # defines what the try returns } ); print try(10), "n"; new() creates a new object of the Hook::PrePostCall class. Arguments of the new method are: 1. the name of the primary routine you want to "overload", 2. an anonymous routine to call before the primary routine, 3. an anonumous routine to call after the primary routine. If the name of the primary subroutine has not an explicit package prefix, it is assumed to be the name of a subroutine in the current package of the caller of the new() method. The pre routine acts as a filter of the primary routine arguments. The post routine acts as a filter of what the primary returns. new() can be used as a class or an object method. When used as an object method the derived definition is built from the initial definition of the primary routine. derived() Returns the overloaded routine. pre() Returns or set the pre action part. post() Returns or set the post action part. primary() Returns the primary routine. restore() Retore initial definition of the primary routine..

Requirements: No special requirements
Platforms: Linux
Keyword: Alpha Before And After Hookprepostcall Libraries New Perl Module Prepostcall Primary Programming Returns Routine Stderr
Users rating: 0/10

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


HOOK::PREPOSTCALL 1.2 RELATED
Screen Savers  -  2004 Tsunami Before and After 1.0
Features a collection of 14 Spectacular before and after photo SETs of the 2004 Tsunami, courtesy of Tony Demark (http://homepage.mac.com/demark/tsunami). Photos are from Digital Globe (http://www.digitalglobe.com). Links to aid tsunami victims:...
11 MB  
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  Acme::EyeDrops 1.51
Acme::EyeDrops is a Perl module for visual programming in Perl. SYNOPSIS use Acme::EyeDrops qw(sightly); print sightly( { Shape => camel, SourceFile => eyesore.pl } ); Acme::EyeDrops converts a Perl program into an equivalent one, but...
102.4 KB  
Libraries  -  OpenGeoDB Perl module 0.4
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius..
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  
Multimedia & Graphics  -  Before & After 1.0.0
Before & After is a simple and very easy-to-use piece of software that allows you to load a "before" and "after" image, specify the measurement and export it to a new image. Now you can make use of this Open Source app to quickly load the...
 
File Managers  -  FileMap by BB 2.1
Take control of all those DLL's accumulating in your windows and system folders after uninstalling software When testing software, you really won't know which DLL's will be left behind on your system after uninstalling it....
110 KB  
Libraries  -  Mail::Webmail::Yahoo 0.601
Mail::Webmail::Yahoo is a Perl module that enables bulk download of yahoo.com -based webmail. SYNOPSIS use Mail::Webmail::Yahoo; $yahoo = Mail::Webmail::Yahoo->new(%options); @folders = $yahoo->get_folder_list(); @messages =...
28.67 KB  
Libraries  -  Acme::PM::Dresden::Convert::VQWiki2TWiki 0.10
Acme::PM::Dresden::Convert::VQWiki2TWiki is a Perl module to convert VQWiki syntax into TWiki syntax. SYNOPSIS use Acme::PM::Dresden::Convert::VQWiki2TWiki; my $convert = new Acme::PM::Dresden::Convert::VQWiki2TWiki (vqwiki => $text); print...
35.84 KB  
Programming  -  Perl Module Manager 1.2.0.18
Perl Module Manager helps you to install, un-install and manage Perl modules from a CPAN site and other sources in an easy and intuitive way. Allows you to search through thousands of useful modules and libraries on a CPAN site and its mirrors....
1.44 MB  
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