diff options
author | zuntum <zuntum> | 2001-11-01 00:57:41 +0000 |
---|---|---|
committer | zuntum <zuntum> | 2001-11-01 00:57:41 +0000 |
commit | 0b6b506536c1ff50f1531d26be2fccfe86c74335 (patch) | |
tree | 93b6296152ccfbaa88b43de043b2d69ce6e63fc5 /devel/p5-Class-Loader/DESCR | |
parent | 1b9f41a39161bad144fdeb94a0e51fa8ba7c309a (diff) | |
download | pkgsrc-0b6b506536c1ff50f1531d26be2fccfe86c74335.tar.gz |
Move pkg/ files into package's toplevel directory
Diffstat (limited to 'devel/p5-Class-Loader/DESCR')
-rw-r--r-- | devel/p5-Class-Loader/DESCR | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/p5-Class-Loader/DESCR b/devel/p5-Class-Loader/DESCR new file mode 100644 index 00000000000..31d1cb1d279 --- /dev/null +++ b/devel/p5-Class-Loader/DESCR @@ -0,0 +1,12 @@ +Certain applications like to defer the decision to use a particular module +till runtime. This is possible in perl, and is a useful trick in situations +where the type of data is not known at compile time and the application +doesn't wish to pre-compile modules to handle all types of data it can work +with. Loading modules at runtime can also provide flexible interfaces for +perl modules. Modules can let the programmer decide what modules will be +used by it instead of hard-coding their names. + +Class::Loader is an inheritable class that provides a method, _load(), to +load a module from disk and construct an object by calling its constructor. +It also provides a way to map modules names and associated metadata with +symbolic names that can be used in place of module names at _load(). |