More attribute options
The predicate option tests if the slot has a value
has 'bar' => (..., predicate => 'has_bar', ...); my $foo = Foo->new; $foo->has_bar; # Nocontinued...
| moose |
The predicate option tests if the slot has a value
has 'bar' => (..., predicate => 'has_bar', ...); my $foo = Foo->new; $foo->has_bar; # Nocontinued...