in reply to Re^3: I don't understand UNIVERSAL::DOES()
in thread I don't understand UNIVERSAL::DOES()
Wouldn't it be better if the role names matched the ref? I.e. CODE,ARRAY,HASH,REGEX ?
No. For reasons i explained in my reply to chromatic. And 'REGEX' isnt a type. You will never see it returned from ref() or reftype(). Also, your code doesnt solve the "can i deref this item in a particular way" problem, nor the "does this reference contain regexp magic" problem.
As for code, yeah, once i get it done ill post it. Currently its a work in progress.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: I don't understand UNIVERSAL::DOES()
by eric256 (Parson) on Mar 10, 2007 at 15:03 UTC | |
by demerphq (Chancellor) on Mar 10, 2007 at 17:42 UTC | |
by eric256 (Parson) on Mar 10, 2007 at 23:08 UTC | |
by demerphq (Chancellor) on Mar 11, 2007 at 08:34 UTC |