[Catalyst-dev] setup_component question
John Napiorkowski
jjn1056 at yahoo.com
Wed May 21 16:30:05 BST 2008
--- On Mon, 5/19/08, Guillermo Roditi <groditi at gmail.com> wrote:
> From: Guillermo Roditi <groditi at gmail.com>
> Subject: [Catalyst-dev] setup_component question
> To: "Catalyst Dev List" <catalyst-dev at lists.scsys.co.uk>
> Date: Monday, May 19, 2008, 7:13 PM
> Catalyst::Exception->throw(
> message =>
> qq/Couldn't instantiate component
> "$component", "COMPONENT()
> didn't return an object-like value"/
> ) unless eval { $instance->can( 'can' ) };
>
> Why are we not simply using Scalar::Util::blessed ?
>
>
> --
> Guillermo Roditi (groditi)
Maybe just trying to reduce the number of required dependencies? Since we get blessed for free in Moose, I don't see a problem changing that.
--JohnN
More information about the Catalyst-dev
mailing list