in reply to Re^2: Problem generating builder functions with Moose for inherited objects
in thread Problem generating builder functions with Moose for inherited objects
I just tried this in one of my Moose classes and it works for me that way.$result = $build_attribute->type_constraint->is_a_type_of('ArrayRef') +? 'it's an ArrayRef' :'not an ArrayRef';
|
|---|