| Weather-YR documentation | Contained in the Weather-YR distribution. |
Weather::YR::Textforecast::Forecast - Stores data about a forecast
This module stores data about a forecast.
Accessor for the forecast type.
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::Textforecast::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/);
1;