Excerpts from Yuri Shtil's message of Tue Sep 08 19:26:57 -0400 2009:
> What is the right way to see if an object has certain attribute?

  if (Moose::Util::find_meta($obj)->find_attribute_by_name("foo")) {
    do some stuff
  }

I almost never find myself wanting this, though (except when writing MooseX
modules, and then not often), so I'm curious what you're doing that needs it.

hdp.

Reply via email to