| 1 | package WWW::EFA::Place; | ||
| 2 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 2 | with 'WWW::EFA::Roles::Printable'; # provides string | |
| 4 | |||
| 5 | =head1 NAME | ||
| 6 | |||
| 7 | WWW::EFA::Place - A Place | ||
| 8 | |||
| 9 | =head1 DESCRIPTION | ||
| 10 | |||
| 11 | A Place object | ||
| 12 | |||
| 13 | =head1 VERSION | ||
| 14 | |||
| 15 | Version 0.01 | ||
| 16 | |||
| 17 | =cut | ||
| 18 | |||
| 19 | 2 | our $VERSION = '0.01'; | |
| 20 | |||
| 21 | =head1 SYNOPSIS | ||
| 22 | |||
| 23 | Location object acquired through an EFA interface | ||
| 24 | |||
| 25 | use WWW::EFA::Location; | ||
| 26 | |||
| 27 | my $location = WWW::EFA::Location->new(); | ||
| 28 | ... | ||
| 29 | |||
| 30 | =head1 ATTRIBUTES | ||
| 31 | |||
| 32 | # TODO: RCL 2011-11-06 Document attributes | ||
| 33 | |||
| 34 | =cut | ||
| 35 | |||
| 36 | 2 | has 'id' => ( is => 'ro', isa => 'Int' ); | |
| 37 | 2 | has 'state' => ( is => 'ro', isa => 'Str' ); | |
| 38 | 2 | has 'type' => ( is => 'ro', isa => 'Str' ); | |
| 39 | 2 | has 'name' => ( is => 'ro', isa => 'Str' ); | |
| 40 | |||
| 41 | 2 | 1; | |
| 42 | |||
| 43 | =head1 COPYRIGHT | ||
| 44 | |||
| 45 | Copyright 2011, Robin Clarke, Munich, Germany | ||
| 46 | |||
| 47 | =head1 AUTHOR | ||
| 48 | |||
| 49 | Robin Clarke <perl@robinclarke.net> | ||
| 50 | |||