Changeset 401
- Timestamp:
- 07/09/07 17:21:42 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
library/perl/trunk/Parse-Apache-ServerStatus-Extended/lib/Parse/Apache/ServerStatus/Extended.pm
r400 r401 3 3 use warnings; 4 4 use strict; 5 use Carp;6 5 use Web::Scraper; 7 6 use base qw( Parse::Apache::ServerStatus ); 8 7 9 8 our $VERSION = '0.01'; 9 use 5.8.1; 10 10 11 11 sub parse { … … 65 65 url => 'http://localhost/server-status', 66 66 timeout => 30 67 ) or die $p rs->errstr;67 ) or die $parser->errstr; 68 68 69 69 my $stat = $parser->parse or die $parser->errstr; … … 71 71 # or both in one step 72 72 73 my $stat = $parser->get(73 my $stats = $parser->get( 74 74 url => 'http://localhost/server-status', 75 75 timeout => 30 … … 122 122 =head1 LICENCE AND COPYRIGHT 123 123 124 Copyright (c) 2007, Gosuke Miyashita C<< <gosukenator@gmail.com> >>. All rights reserved.124 Copyright (c) 2007, Gosuke Miyashita C<< <gosukenator@gmail.com> >>. 125 125 126 126 This module is free software; you can redistribute it and/or
