libload-perl - pragma for controlling when subroutines will be loaded

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: libload-perl
Package version: 0.23
Package release: 1
Package architecture: all
Package type: deb
Installed size: 80 B
Download size: 24.91 KB
Official Mirror:
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.




    Source package: libload-perl

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install libload-perl deb package:
      # sudo apt-get install libload-perl


    • /usr/share/doc/libload-perl/README
    • /usr/share/doc/libload-perl/TODO
    • /usr/share/doc/libload-perl/changelog.Debian.gz
    • /usr/share/doc/libload-perl/changelog.gz
    • /usr/share/doc/libload-perl/copyright
    • /usr/share/man/man3/load.3pm.gz
    • /usr/share/perl5/


    2012-06-02 - gregor herrmann <> libload-perl (0.23-1) unstable; urgency=low * New upstream release. * Drop spelling patch, applied upstream.

    2012-04-13 - gregor herrmann <> libload-perl (0.21-1) unstable; urgency=low [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ gregor herrmann ] * New upstream release. * debian/copyright: update to Copyright-Format 1.0. * Update years of upstream and packaging copyright. * Refresh patch and forward it upstream. * Bump Standards-Version to 3.9.3 (no changes).

    2011-06-05 - gregor herrmann <> libload-perl (0.20-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release (closes: #629299) [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ Salvatore Bonaccorso ] * debian/control: Changed: Replace versioned (build-)dependency on perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as permitted by Debian Policy 3.8.3). [ gregor herrmann ] * Switch to source format 3.0 (quilt). * Use tiny debian/rules. * Bump debhelper compatibility level to 8. * Set Standards-Version to 3.9.2 (no changes). * Add /me to Uploaders. * Improve short description. * debian/copyright: update formatting. * Add a patch to fix a spelling mistake.

    2009-04-10 - Matt Zagrabelny <> libload-perl (0.19-1) unstable; urgency=low * Initial Release. (Closes: #501716)