| Weather-YR documentation | Contained in the Weather-YR distribution. |
Weather::YR::Locationforecast::Forecast - Stores data about a forecast
This module stores data about a forecast.
Constructor.
Accessor for the forecast type.
Accessor for meta data
Accessor for the to date
Accessor for the from date
Accessor for the geo data
Knut-Olav, <knut-olav@hoven.ws>
Copyright (C) 2008 by Knut-Olav Hoven
This library is free software; you can redireibute it and/or modify it under the terms as GNU GPL version 2.
| Weather-YR documentation | Contained in the Weather-YR distribution. |
package Weather::YR::Locationforecast::Forecast; use strict; use warnings; use base qw/Class::Accessor::Fast/;
sub new { my ( $class, $args ) = @_; $args ||= {}; my $self = bless $args, $class; return $self; }
__PACKAGE__->mk_accessors(qw/ type meta to from location /);
1;