Commit graph

5 commits

Author SHA1 Message Date
sno
e56a3426bf Updating package for CPAN module Class::Load for Perl programming language
in devel/p5-Class-Load from 0.11nb1 to 0.12.

pkgsrc changes:
- adjust dependencies according to module information

Upstream changes:
0.12     2011-10-25
- Depend on Module::Runtime 0.011+. This fixes problems with Catalyst under
  Perl 5.8 and 5.10.
2011-11-15 19:26:56 +00:00
hiramatsu
61b5827f32 Increment PKGREVISION for previous DEPENDS change. 2011-10-13 07:42:44 +00:00
hiramatsu
8e8826bc1c Add missing DEPENDS. 2011-10-13 07:32:04 +00:00
hiramatsu
483f0e6292 Update p5-Class-Load to 0.11.
Changes from previous:
0.11     2011-10-04
- Don't accept package names that start with a digit. ( Jesse Luehrs )

- Rewrote some of the guts to use Module::Runtime, rather than reimplementing
  its functionality. ( Jesse Luehrs )

0.10     2011-09-06
- Make sure the $@ localization doesn't hide errors - invalid module name
  errors were being suppressed on perls before 5.14. ( Jesse Luehrs )

0.09     2011-09-05
- Fix is_class_loaded to ignore $ISA (but still look for @ISA) when trying to
  determine whether a class is loaded. ( Jesse Luehrs )

- Lots of internals cleanup. ( Jesse Luehrs )
2011-10-12 06:40:16 +00:00
abs
14036a44e6 Added devel/p5-Class-Load version 0.08
require EXPR only accepts Class/Name.pm style module names, not
Class::Name. How frustrating! For that, we provide 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, we provide
try_load_class 'Class::Name'.

Finally, sometimes we need 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, we provide is_class_loaded 'Class::Name'.
2011-08-30 09:10:34 +00:00