Comparing the return value from ref to a list of known types is simply the wrong approach. Either you'll forget something, or a new type will be added in a future version and your code will break.
Go with the UNIVERSAL::isa() approach. Really.
In reply to Re: Re: Re: has it been blessed?
by chipmunk
in thread has it been blessed?
by pmc2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |