Menu

New Downloads

BriskBard 1.8.4
Published: 22 February, 2020 09:50
BriskBard is the new web browser for Windows that...

hide.me VPN for iOS 3.4.1
Published: 22 February, 2020 09:17
hide.me app for iOS is the fastest free VPN available in...

Maiar Browser 76.0.1.12
Published: 22 February, 2020 08:22
Maiar is a blazing fast, privacy-first browser that comes...

DataNumen RAR Repair 2.7
Published: 20 February, 2020 12:05
DataNumen RAR Repair (formerly Advanced RAR Repair) is a...

UniPDF 1.3.3
Published: 20 February, 2020 10:39
100% Free PDF to Word converter software to convert PDF...

1st Clipboard 31.01
Published: 20 February, 2020 10:30
Free Clipboard Replacement for Windows. 1st Clipboard can...

hide.me VPN for macOS 3.2.2
Published: 19 February, 2020 09:00
hide.me VPN released its OS X app introducing some new...

New Reviews

Aquarium Lab 2012.0.2   (Usha)
My aquarium water condition is being monitored by this...

TextSeek (Mac) 2.5.1583   (Zesi_Tom)
Deep indexing of desktop computer's documents is...

RPM Remote Print Manager Elite 32 Bit 6.1.0.439   (tintin)
Takes care of any printing job to be converted and saved...

Nutrigenic Helper 1.0   (Simsiak)
As a dietician I use this software to plan a nutrient...

Radmin 3.5.2.1   (Jefferson)
Can control the computers from distance location even if...

JavaScript Diagram 3.3.3   (Xeviers)
Lots of flow diagrams can be drawn in short time with...

WarpPro 1.0   (Rownok)
Reproduces any record after fixing the timing error of...

HueScope Separator 1.0   (Kislu)
Separates the colors from an watercolor image which is...

ERD Concepts 8.0   (Tintin)
For backend database design it is the perfect one, manual...

MindView 7.0.18668   (Zerin)
Can easily note down any new ideas or plans for future...

Popular Downloads

FreeCommander 2009.02b  (6267)
Released: 08 November, 2011
FreeCommander is an advanced file manager program. It can...

AbiWord 2.8.6  (1834)
Released: 05 December, 2011
AbiWord is a free word processor for all major operating...

TestDisk and PhotoRec 6.14  (2866)
Released: 24 October, 2012
TestDisk is a powerful free data recovery software!

NetBeans IDE 7.4  (1087)
Released: 02 December, 2013
Free and open source IDE for programmers in almost all...

Safari for Windows 5.1.7  (4010)
Released: 04 December, 2013
Experience the fastest web browsing in your windows PC...

GeekUninstaller 1.1.1.21  (1403)
Released: 08 December, 2013
GeekUninstaller is a free small sized uninstaller program...

SeaMonkey 2.23  (1611)
Released: 07 January, 2014
Advanced Internet user, web developer and corporate...

Ahnenblatt 2.74  (100)
Released: 15 November, 2012
Ahnenblatt is a free and easy-to-use genealogy software...

 

AtExit 2.01

Downloads: 4 License: Freeware
Views: 600 Size: 8.2 KB
Date Released: 22 October, 2010


 Security code
Author: Andrew Langmead, Brad Appleton and Michael A. Chase

AtExit is a Perl module that can perform exit processing for a program or object. SYNOPSIS use AtExit; sub cleanup { my @args = @_; print "cleanup() executing: args = @argsn"; } ## Register subroutines to be called when this program exits $_ = atexit(&cleanup, "This call was registered first"); print "first call to atexit() returned $_n"; $_ = atexit("cleanup", "This call was registered second"); print "second call to atexit() returned $_n"; $_ = atexit("cleanup", "This call shouldve been unregistered by rmexit"); rmexit($_) or warn "couldnt unregister exit-sub $_!"; if (@ARGV == 0) { ## Register subroutines to be called when this lexical scope is exited my $scope1 = AtExit->new( &cleanup, "Scope 1, Callback 1" ); { ## Do the same for this nested scope my $scope2 = AtExit->new; $_ = $scope2->atexit( &cleanup, "Scope 2, Callback 1" ); $scope1->atexit( &cleanup, "Scope 1, Callback 2"); $scope2->atexit( &cleanup, "Scope 2, Callback 2" ); $scope2->rmexit($_) or warn "couldnt unregister exit-sub $_!"; print "*** Leaving Scope 2 ***n"; } print "*** Finished Scope 2 ***n"; print "*** Leaving Scope 1 ***n"; } print "*** Finished Scope 1 ***n" if (@ARGV == 0); END { print "*** Now performing program-exit processing ***n"; } The AtExit module provides ANSI-C style exit processing modeled after the atexit function in the standard C library (see atexit(3C)). Various exit processing routines may be registered by calling atexit and passing it the desired subroutine along with any desired arguments. Then, at program-exit time, the subroutines registered with atexit are invoked with their given arguments in the reverse order of registration (last one registered is invoked first). Registering the same subroutine more than once will cause that subroutine to be invoked once for each registration. An AtExit object can be created in any scope. When invoked as a function, atexit registers callbacks to be executed at program-exit time. But when invoked as an object-method (using the $object->method_name syntax), callbacks registered with an AtExit object are executed at object-destruction time! The rules for order of execution of the registered subroutines are the same for objects during object-destruction, as for the program during program-termination. The atexit function/method should be passed a subroutine name or reference, optionally followed by the list of arguments with which to invoke it at program/object exit time. Anonymous subroutine references passed to atexit act as "closures" (which are described in perlref). If a subroutine name is specified (as opposed to a subroutine reference) then, unless the subroutine name has an explicit package prefix, it is assumed to be the name of a subroutine in the callers current package. A reference to the specified subroutine is obtained, and, if invocation arguments were specified, it is "wrapped up" in a closure which invokes the subroutine with the specified arguments. The resulting subroutine reference is added to the front of the list of exit-handling subroutines for the program (atexit) or the AtExit object ($exitObject->atexit) and the reference is then returned to the caller (just in case you might want to unregister it later using rmexit. If the given subroutine could not be registered, then the value zero is returned. The rmexit function/method should be passed one or more subroutine references, each of which was returned by a previous call to atexit. For each argument given, rmexit will look in the list of exit-handling subroutines for the program (rmexit) or the AtExit object ($exitObject->rmexit) and remove the first matching entry from the list. If no arguments are given, then all program or object exit-handlers are unregistered! The value returned will be the number of subroutines that were successfully unregistered. At object destruction time, the DESTROY{} subroutine in the AtExit module iterates over the subroutine references in the AtExit object and invokes each one in turn (each subroutine is removed from the front of the queue immediately before it is invoked). At program-exit time, the END{} block in the AtExit module iterates over the subroutines in the array returned by the exit_subs method and invokes each one in turn (each subroutine is removed from the front of the queue immediately before it is invoked). Note that in both cases (program-exit, and object-destruction) the subroutines in this queue are invoked in first-to-last order (the reverse order in which they were registered with atexit)..


Platform: Linux

Latest software from Andrew Langmead, Brad Appleton and Michael A. Chase

  • AtExit 2.01 - AtExit is a Perl module that can perform exit processing for a program or object.

Statement: 
Download Collection.com periodically updates software information of AtExit from the publisher Andrew Langmead, Brad Appleton and Michael A. Chase. You can visit publisher website by clicking Homepage link. Software piracy is theft. Using AtExit crack, key, serial numbers, registration codes is illegal. The download file hosted at publisher website. We do not provide any download link points to Rapidshare, Hotfile, Depositfiles, Mediafire, Filefactory, etc. or obtained from file sharing programs such as Limewire, Kazaa, Imesh, Ares, BearShare, BitTorrent, WinMX etc.

User Reviews of AtExit

- required fields
     

Please enter text on the image

AtExit Related Downloads

AtExit , AtExit 2 01 , Perl Module , Subroutine , Scope , Program , Subroutines , Registered , Print , Libraries , Programming

  • Perl-raiser CGI Generator 2.2 - Perl-raiser CGI Generator is Software which Generates Ready-To-Go Search Engines, Mailing Lists, Member Logins, and other Website Enhancing User Interactive CGI Programs.
  • Data::Encrypted 0.07 - Data::Encrypted is a Perl module to transparently store encrypted data via RSA. SYNOPSIS # functional interface: use Data::Encrypted file => "./.
  • Class::DBI::Plugin::FilterOnClick 1.0 - Class::DBI::Plugin::FilterOnClick is a Perl module to generate browsable and searchable HTML Tables using FilterOnClick in conjunction with Class::DBI.
  • Acme::Test::Weather 0.2 - Acme::Test::Weather is a Perl module to test the weather conditions for a user. SYNOPSIS use Test::Weather; plan tests => 2; # You may only install something # when its nice outside. &isnt_snowing(); &isnt_cloudy(); # output: 1..
  • XML::Generator::vCard::RDF 1.4 - XML::Generator::vCard::RDF is a Perl module that can generate RDF/XML SAX2 events for vCard 3.
  • WWW::Webrobot::pod::Testplan 0.80 - WWW::Webrobot::pod::Testplan is a Perl module that helps you on how to write a test plan for webrobot. A test plan is a list of elements. An element itself may be a request, a (sub) test plan, an include or a cookie control command.
  • Test::Stochastic 0.03 - Test::Stochastic is a Perl module to check probabilities of randomized methods. SYNOPSIS use Test::Stochastic qw(stochastic_ok); stochastic_ok sub { ...random sub...}, {a => 0.4, b => 0.6}; stochastic_ok {a => 0.4, b => 0.
  • mpegrec 1.0 - mpegrec is a FREE, Open Source command-line tool for recording audio on Windows and Linux. It may be used to record direct-to-disk WAV files, and MP3 files. MP3 encoding requires an external MP3 encoder such as the lame encoder.
  • Merchant of Venice 0.7 beta - Venice is a stock market trading programme that supports portfolio management, charting, technical analysis, paper trading and experimental methods like genetic programming.

This category most popular freeware software

  • Free Nokia Video Converter Factory - Free Nokia Video Converter Factory 3.0 is easy, fast, reliable, safe, and loaded with features.It's capable of converting videos of all pop formats like AVI, MPEG, WMV, FLV, MDV, 3GP, MP4, etc .
  • Azhagi - - Azhagi is a program that can transliterate English text into Tamil and vice versa. It can perform various transliterations either within its own interface, or in any version of Microsoft Word.
  • Sony Ericsson Media Manager - Sony Ericsson Media Manager 1.1 is a tool that allows you to enhance your Sony Ericsson phone's capabilities by providing amazing features.
  • DELL Webcam Manager - Dell webcam manager is a utility that lists and let you launch all webcam applications available from creative on your Dell portable, it includes the webcam console ( basic webcam usage), webcam center (basic and advanced usage) or webcam central (re
  • webcam snaps - webcam snaps is a Web cam utility to take snapshots using Web cam. This program is completely written in C. Using vfl and GTK. I hope this utility will be useful for those who wish to handle Web cam under GNU/Linux.
  • ADC Instruments USB Driver - Installing and Uninstalling the ADC Instruments USB Driver. This Software is a device driver that is used to control test and measurement instruments, which are made by ADC Corp., from a PC through a USB interface.
  • HTTP Anti Virus Proxy - HAVP (HTTP Antivirus Proxy) is a proxy with a ClamAV anti-virus scanner. HTTP Anti Virus Proxy aims are continuous, non-blocking downloads and smooth scanning of dynamic and password protected HTTP traffic.

Related categories