|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re^3: Reference assessment techniques and how they failby dragonchild (Archbishop) |
| on Feb 17, 2008 at 20:32 UTC ( #668448=note: print w/ replies, xml ) | Need Help?? |
|
%{} is set, but shouldn't respond because nothing has been set. The whole tying thing is, for example, DBM::Deep. dbm-deep provides both TIEARRAY and TIEHASH and all appropriate methods in subclasses. Those methods didn't have to be in subclasses. It might be useful to test. Also, reftype(), when implemented in pureperl (such as when installed without a compiler), reblesses to a string that shouldn't be a class, but might. That should be tested. Frankly, I would be more interested in figuring out how to make sub isHash { eval { %{ $_[0] }; 1 }; } work without warnings. That seems to be a saner solution because it has perl figuring out how Perl works. My criteria for good software:
In Section
Meditations
|
|
||||||||||||||||||||||||||||