POOF::Example::Vehicle - Sample class to illustrate POOF.


POOF documentation Contained in the POOF distribution.

Index


Code Index:

NAME

Top

POOF::Example::Vehicle - Sample class to illustrate POOF.

SYNOPSIS

Top

Todo

SEE ALSO

Top

POOF man page.

AUTHOR

Top

Benny Millares <bmillares@cpan.org>

COPYRIGHT AND LICENSE

Top


POOF documentation Contained in the POOF distribution.

package POOF::Example::Vehicle;

use strict;
use warnings;

use base qw(POOF);


#-------------------------------------------------------------------------------
# init 


#-------------------------------------------------------------------------------
# properties

sub PassengerCapacity : Property Protected
{
    {
        'type' => 'integer',
        'default' => 0,
    }
}

sub CargoCapacity : Property Protected
{
    {
        'type' => 'float',
        'default' => 0.0,
    }
}

#-------------------------------------------------------------------------------
# methods


1;
__END__