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

Hook::PrePostCall 1.2 Alpha

  Date Added: February 27, 2010  |  Visits: 462

Hook::PrePostCall 1.2

Report Broken Link
Printer Friendly Version


Product Homepage
Download (70 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  -  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  
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  -  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  -  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  
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  
Programming  -  dm.transaction.aborthook 1.0
This package defines the parameterless function add_abort_hooks which patches transaction to support (before and after) abort hooks. The support is analogous to that of before commit hooks. Especially,...
10.24 KB  
Automation Tools  -  Delete Lines 1.1.0
Delete/Filter lines from big text files (for example log files). If you have ever been confronted with the problem that you want to delete or filter particular lines of a big text file, this free program is exactly what you are looking for. With...
1.25 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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 freedesktop.org, 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  -  wolfSSL 3.11.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...
2.73 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