Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by roho (Monsignor)
on Jul 04, 2010 at 07:02 UTC ( #847957=note: print w/ replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://847957]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2014-08-29 19:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (287 votes), past polls