Filewatcher File Search File Search
Catalog
Content Search
» » » » »

libload-perl

control when subroutines will be loaded

The "load" pragma allows a module developer to give the application developer more options with regards to optimize for memory or CPU usage. The "load" pragma gives more control on the moment when subroutines are loaded and start taking up memory. This allows the application developer to optimize for CPU usage (by loading all of a module at compile time and thus reducing the amount of CPU used during the execution of an application). Or allow the application developer to optimize for memory usage, by loading subroutines only when they are actually needed, thereby however increasing the amount of CPU needed during execution.

The "load" pragma combines the best of both worlds from AutoLoader and SelfLoader. And adds some more features.

In a situation where you want to use as little memory as possible, the "load" pragma (in the context of a module) is a drop-in replacement for AutoLoader. But for situations where you want to have a module load everything it could ever possibly need (e.g. when starting a mod_perl server in pre-fork mode), the "load" pragma can be used (in the context of an application) to have all subroutines of a module loaded without having to make any change to the source of the module in question.

Homepage:
Package version:0.19-1
Architecture:all
Distribution:Debian
Filename:libload-perl_0.19-1_all.deb

/usr/share/doc/libload-perl/README

README for load

The load.pm allows you to have Perl load subroutines only when necessary.
It is primarily intended as a memory saving action, specifically for threaded
Perl and mod_perl applications, but maybe useful in more traditional Perl
applications as well.

Copyright (c) 2002-2007 Elizabeth Mattijsen <liz@dijkmat.nl>. All rights
reserved.  This program is free software; you can redistribut
more»

/usr/share/man/man3/load.3pm.gz

load(3pm)        User Contributed Perl Documentation       load(3pm)



NAME
       load - control when subroutines will be loaded

SYNOPSIS
         use load;            # default, same as 'autoload'

         use load 'autoload'; # export AUTOLOAD handler to this namespace

         use load 'ondemand'; # load subroutines after __END__ when requested, default

         use load 'now';      # loa
more»

/usr/share/doc/libload-perl/changelog.Debian.gz

libload-perl (0.19-1) unstable; urgency=low

  * Initial Release. (Closes: #501716)

 -- Matt Zagrabelny <mzagrabe@d.umn.edu>  Fri, 10 Apr 2009 10:55:52 -0500

/usr/share/doc/libload-perl/changelog.gz

0.19	24 April 2007
	Fixed problem in test-suite that was long overseen because it would
	work ok if 
more»

/usr/share/doc/libload-perl/TODO

Use the <DATA> handle if there is one available.

Use a source-filter to implement a ":ondemand" att
more»

/usr/share/doc/libload-perl/copyright

Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
Upstrea
more»

Browse inside libload-perl_0.19-1_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download libload-perl_0.19-1_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com