Subject: | Documentation glitches |
[Submitted by Ricardo Signes]
There is some contradiction in the docs:
isa
This method cannot be used to access a hash element 'isa', because
Hash::AsObject doesn't attempt to handle it specially.
can
Similarly, this can't be used to access a hash element 'can'.
Later:
The methods can() and isa() are special, because they're defined in the
UNIVERSAL class that all packages automatically inherit from. In Perl, you
can usually use calls $object->isa('Foo') and $object->can('bar') and get the
desired results, but you have the options to use UNIVERSAL::can() and
UNIVERSAL::isa() directly instead.
In Hash::AsObject, you must use the UNIVERSAL functions - unless, of course,
you want to access hash elements 'can' and 'isa'
Oops?
[Submitted by Thomas Linden]
Beside this your Copyright section dates the copyright to 2003, you
should change this to 2003-2007 or something.