diff options
author | Chris Williams <chris@bingosnet.co.uk> | 2009-11-14 23:22:32 +0000 |
---|---|---|
committer | Chris Williams <chris@bingosnet.co.uk> | 2009-11-14 23:22:32 +0000 |
commit | 4192a60ab85c903bbbe3c8cb5b7e2afc0b34760c (patch) | |
tree | 49832c5c549f358a805c60d57df2c4313edd9bc4 /cpan/File-Fetch | |
parent | d915cdf3dea05ce1dbe6adccc5e07cb531aa24d9 (diff) | |
download | perl-4192a60ab85c903bbbe3c8cb5b7e2afc0b34760c.tar.gz |
Updated File::Fetch to cpan version 0.22
Changes for 0.22 Sat Nov 14 23:13:16 2009
=================================================
* Bumped to stable version
Diffstat (limited to 'cpan/File-Fetch')
-rw-r--r-- | cpan/File-Fetch/lib/File/Fetch.pm | 2 | ||||
-rw-r--r-- | cpan/File-Fetch/t/01_File-Fetch.t | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/cpan/File-Fetch/lib/File/Fetch.pm b/cpan/File-Fetch/lib/File/Fetch.pm index 9f1d0b6120..d90232f413 100644 --- a/cpan/File-Fetch/lib/File/Fetch.pm +++ b/cpan/File-Fetch/lib/File/Fetch.pm @@ -22,7 +22,7 @@ use vars qw[ $VERBOSE $PREFER_BIN $FROM_EMAIL $USER_AGENT $FTP_PASSIVE $TIMEOUT $DEBUG $WARN ]; -$VERSION = '0.21_02'; +$VERSION = '0.22'; $VERSION = eval $VERSION; # avoid warnings with development releases $PREFER_BIN = 0; # XXX TODO implement $FROM_EMAIL = 'File-Fetch@example.com'; diff --git a/cpan/File-Fetch/t/01_File-Fetch.t b/cpan/File-Fetch/t/01_File-Fetch.t index 652c10ce36..b057fcb13e 100644 --- a/cpan/File-Fetch/t/01_File-Fetch.t +++ b/cpan/File-Fetch/t/01_File-Fetch.t @@ -116,7 +116,9 @@ push @map, ( ### sanity tests -{ like( $File::Fetch::USER_AGENT, qr/$File::Fetch::VERSION/, +{ + no warnings; + like( $File::Fetch::USER_AGENT, qr/$File::Fetch::VERSION/, "User agent contains version" ); like( $File::Fetch::FROM_EMAIL, qr/@/, q[Email contains '@'] ); |