in reply to Re: How to differentiate hash reference and object reference?
in thread How to differentiate hash reference and object reference?
It is an error message, but it comes from the compiler, not from me. My main problem with it is isn't so much the wording, but the fact that it doesn't even say which argument caused the problem. Maybe params validate solves that?#The error I get: #C:\thomasdata\experiments>perl unblessedWantBetterError.t #Can't call method "isa" on unblessed reference at unblessedWantBetter +Error.t lin #e 10.
That said, I am overall not currently happy with how I'm going about params checking. I will have a look at Params::Validate like diotalevi said, and maybe give my whole way of doing this a rethink.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to differentiate hash reference and object reference?
by demerphq (Chancellor) on Aug 31, 2005 at 14:33 UTC | |
by xdg (Monsignor) on Aug 31, 2005 at 14:57 UTC |