Name : perl-UNIVERSAL-can
| |
Version : 1.12
| Vendor : N0i_Net
|
Release : 2.n0i.5.fc7
| Date : 2007-05-31 01:34:02
|
Group : Development/Libraries
| Source RPM : perl-UNIVERSAL-can-1.12-2.n0i.5.fc7.src.rpm
|
Size : 0.01 MB
| |
Packager : Marius Feraru < altblue_n0i_net>
| |
Summary : Hack around people calling UNIVERSAL::can() as a function
|
Description :
Some authors call methods in the UNIVERSAL class on potential invocants as functions, bypassing any possible overriding. This is wrong and you should not do it. Unfortunately, not everyone heeds this warning and their bad code can break your good code. Fortunately, this module replaces \"UNIVERSAL::can()\" with a method that checks to see if the first argument is a valid invocant (whether an object -- a blessed referent -- or the name of a class). If so, and if the invocant\'s class has its own \"can()\" method, it calls that as a method. Otherwise, everything works as you might expect.
|
RPM found in directory: /packages/linux-pbone/archive/reb00t.com/fedora/8/perl |