in reply to Have I found a bug in Perl?

Issue at hand aside, as it has been resolved, when I want to test for objectness I prefer
UNIVERSAL::can( $foo, 'can' );

Makeshifts last the longest.

Replies are listed 'Best First'.
Re: Re: Have I found a bug in Perl?
by perrin (Chancellor) on Jan 11, 2004 at 18:46 UTC
    That's how Template Toolkit does it. Seems to work well.