Main > Programming > Libraries >

Acme::Test::Weather 0.2

Acme::Test::Weather 0.2

Sponsored Links

Acme::Test::Weather 0.2 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.005 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 950
Date added: 2007-03-19
Publisher: Aaron Straup Cope

Acme::Test::Weather 0.2 description

Acme::Test::Weather is a Perl module to test the weather conditions for a user.

SYNOPSIS

use Test::Weather;
plan tests => 2;

# You may only install something
# when its nice outside.

&isnt_snowing();
&isnt_cloudy();

# output:

1..2
ok 1 - its partly cloudy in Montreal, Canada
not ok 2 - its partly cloudy in Montreal, Canada
# Failed test (./t/mtl.t at line 5)
# Partly Cloudy
# matches (?i-xsm:bcloudy)
# Looks like you failed 1 tests of 2.

The package determines a users location by looking up their hostname / IP address using the CAIDA::NetGeo::Client package.

Based on the data returned, weather conditions are polled using the Weather::Underground package.

Because, you know, it may be important to your Perl module that its raining outside...

PACKAGE FUNCTIONS

&is_cloudy()

Make sure it is cloudy, but remember the silver lining.

&isnt_cloudy()

No clouds. Not even little fluffy ones.

&is_raining()

Make sure it is raining.

&isnt_raining()

Make sure sure it is not raining.

&is_snowing()

Make sure it is snowing.

&isnt_snowing()

Make sure it is not snowing.

&is_sunny()

Make sure it is sunny.

&isnt_sunny()

Make sure it is not sunny. Why are you so angry?

&eq_celsius($int)

Temperature in degrees Celsius.

>_celsius($int)

Cooler than, in degrees Celcius.

<_celsius($int)

Warmer than, in degrees Celsius.

&eq_fahrenheit($int)

Temperature, in degrees Fahrenheit.

>_fahrenheit($int)

Warmer than, in degrees Fahrenheit.

<_fahrenheit($int)

Cooler than, in degrees Fahrenheit.

&eq_humidity($int)

Humidity.

>_humidity($int)

Humidity is greater than.

<_humidity($int)

Humidity is less than.

Acme::Test::Weather 0.2 Screenshot

Advertisements

Acme::Test::Weather 0.2 Keywords

Bookmark Acme::Test::Weather 0.2

Hyperlink code:
Link for forum:

Acme::Test::Weather 0.2 Copyright

WareSeeker periodically updates pricing and software information of Acme::Test::Weather 0.2 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Acme::Test::Weather 0.2 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Acme::Tests is a Perl module to see how much do you know. Free Download
WeatherBug is a Firefox extension that can get live, local weather conditions in Firefox web browser. Free Download
bbweather is a tool for blackbox that displays weather conditions. Free Download
Test::STDmaker is a Perl module to generate test scripts, demo scripts from a test description short hand. Free Download
Xfce 4 Weather Plugin shows the current temperature and weather condition, using weather data provided by xoap.weather.com. Free Download
CPAN::Test::Others is a Perl module to include tests for other modules on CPAN. Free Download
Acme::Laugh is a Perl module that can add joy to your scripts. Free Download
Acme::Hyperindex is a Perl module to look deep into structures using a list of indexes. Free Download