[freeside-commits] freeside/FS/FS Mason.pm,1.17,1.18
Ivan,,,
ivan at wavetail.420.am
Tue Sep 15 17:52:25 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv32747
Modified Files:
Mason.pm
Log Message:
quiet warning: Subroutine Net::Ping::External::_ping_linux redefined
Index: Mason.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Mason.pm,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- Mason.pm 14 Sep 2009 23:52:01 -0000 1.17
+++ Mason.pm 16 Sep 2009 00:52:23 -0000 1.18
@@ -80,7 +80,9 @@
use NetAddr::IP;
use Net::Ping;
use Net::Ping::External;
- #if CPAN #7815 ever gets fixed# if ( $Net::Ping::External::VERSION <= 0.12 ) {
+ #if CPAN #7815 ever gets fixed# if ( $Net::Ping::External::VERSION <= 0.12 )
+ {
+ no warnings 'redefine';
eval 'sub Net::Ping::External::_ping_linux {
my %args = @_;
my $command = "ping -s $args{size} -c $args{count} -w $args{timeout} $args{host}";
@@ -88,7 +90,7 @@
}
';
die $@ if $@;
- #}
+ }
use String::Approx qw(amatch);
use Chart::LinesPoints;
use Chart::Mountain;
More information about the freeside-commits
mailing list