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


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.
Package version:0.19


README for load

The 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 <>. All rights
reserved.  This program is free software; you can redistribut


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

       load - control when subroutines will be loaded

         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


0.19	24 April 2007
	Fixed problem in test-suite that was long overseen because it would
	work ok if was already installed (which it was on my dev
	system).  Not sure whether this was internally introduced, or some
	new feature of Test::More.

0.18	18 October 2005
	Added fix for missing Kwalitee point for not using 'strict'

0.17	9 July 2005
	Finished AutoLoader emulation mode and adapted t


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

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

Browse inside perl-load-0.19-1.el4.rf.noarch.rpm

1.26 KB2014-11-29HEADER  view  57 mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download perl-load-0.19-1.el4.rf.noarch.rpm

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