« OpenGbg/Service/AirQuality/GetMeasurements.pm
↑ Summary
OpenGbg/Service/Bridge/BridgeOpenings.pm »
| 1 | 1 | ▶ | use 5.10.0; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | package OpenGbg::Service::AirQuality::Measurements; | ||
| 6 | |||
| 7 | # ABSTRACT: A list of air quality measurements | ||
| 8 | 1 | our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY | |
| 9 | 1 | our $VERSION = '0.1404'; | |
| 10 | |||
| 11 | 1 | ▶ | use XML::Rabbit; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | 1 | has_xpath_object_list _measurements => './x:Measurement' => 'OpenGbg::Service::AirQuality::Measurement', | |
| 14 | handles => { | ||
| 15 | all => 'elements', | ||
| 16 | count => 'count', | ||
| 17 | filter => 'grep', | ||
| 18 | find => 'first', | ||
| 19 | get_by_index => 'get', | ||
| 20 | map => 'map', | ||
| 21 | sort => 'sort', | ||
| 22 | }; | ||
| 23 | |||
| 24 | 1 | finalize_class(); | |
| 25 | |||
| 26 | 1 | 1; | |
| 27 | |||
| 28 | __END__ | ||