in reply to Re: has it been blessed?
in thread has it been blessed?

If $obj hasn't been blessed at all, that will still fail.

Replies are listed 'Best First'.
Re: Re: Re: has it been blessed?
by dash2 (Hermit) on Mar 06, 2002 at 16:19 UTC
    But you can use can in a non-OO way: if (UNIVERSAL::can($obj, 'method'))

    dave hj~