http://www.perlmonks.org?node_id=847957


in reply to Re: Checking for Presence of Optional Attribute in Moose Object
in thread Checking for Presence of Optional Attribute in Moose Object

The sample code is only meant to describe the problem. I want to be able to add the optional attribute value to a display line if the attribute is present. The predicate suggestion by FalseVinylShrub and Your Mother solved the problem. Many thanks.

"Its not how hard you work, its how much you get done."

  • Comment on Re^2: Checking for Presence of Optional Attribute in Moose Object