Help for this page

Select Code to Download


  1. or download this
    package MyCow;
    use Moose;
    ...
    
    my $attr = $cow->meta->get_attribute('Bool');
    print "Attribute does Boolean? ", $cow->guernsey ? "Yes!" : "No...", $
    +/;