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

libclass-load-perl

module for loading modules by name

"require EXPR" only accepts Class/Name.pm style module names, not Class::Name. For that, Class::Load provides "load_class 'Class::Name'".

It's often useful to test whether a module can be loaded, instead of throwing an error when it's not available. For that, Class::Load provides "try_load_class 'Class::Name'".

Finally, sometimes it is important to know whether a particular class has been loaded. Asking %INC is an option, but that will miss inner packages and any class for which the filename does not correspond to the package name. For that, this module provides "is_class_loaded 'Class::Name'".

Homepage:
Package version:0.20-1
Architecture:all
Distribution:Debian
Filename:libclass-load-perl_0.20-1_all.deb

/usr/share/man/man3/Class::Load.3pm.gz

Class::Load(3pm) User Contributed Perl DocumentationClass::Load(3pm)



NAME
       Class::Load - a working (require "Class::Name") and more

VERSION
       version 0.20

SYNOPSIS
           use Class::Load ':all';

           try_load_class('Class::Name')
               or plan skip_all => "Class::Name required to run these tests";

           load_class('Class::Name');

           is_class_loade
more»

/usr/share/doc/libclass-load-perl/changelog.Debian.gz

libclass-load-perl (0.20-1) unstable; urgency=low

  [ gregor herrmann ]
  * New upstream release 0.19.
  * debian/control: update {versioned,alternative} (build) dependencies.

  [ Angel Abad ]
  * Imported Upstream version 0.20
  * debian/copyright: Update format to copyright-format 1.0

  [ Alessandro Ghedini ]
  * New upstream release 0.18
  * Lower libpackage-stash-perl minimun required versi
more»

/usr/share/doc/libclass-load-perl/changelog.gz

0.20     2012-07-15

- Same as the most recently 0.19, but with a new version.

0.19     2012-07-15

- Uploaded by Dave Rolsky, not realizing 0.19 was already used

- The load_class() subroutine now returns the class name on success. Requested
  by Caleb Cushing. RT #76931.

- Exceptions and errors from Class::Load no longer contain references to line
  numbers in Class::Load or Module::Runtime. T
more»

/usr/share/doc/libclass-load-perl/copyright

Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Contact: Shawn M 
more»

Browse inside libclass-load-perl_0.20-1_all.deb

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

Download libclass-load-perl_0.20-1_all.deb

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