[Orca-checkins] r514 - orca/trunk/orca
blair at orcaware.com
blair at orcaware.com
Sun Nov 27 22:02:10 PST 2005
Author: blair at orcaware.com
Date: Sun Nov 27 22:01:33 2005
New Revision: 514
Modified:
orca/trunk/orca/orca.pl.in
Log:
Using the Data::Dumper module on an Ubuntu Breezy Badger (5.10)
system with Perl 5.8.7 generates the warning 'Argument "2.121_04"
isn't numeric in subroutine entry', so temporarily turn off warnings
when using this module.
* orca/orca.pl.in:
Run 'no warnings' before 'use Data::Dumper' and 'use warnings'
afterwards.
Modified: orca/trunk/orca/orca.pl.in
==============================================================================
--- orca/trunk/orca/orca.pl.in (original)
+++ orca/trunk/orca/orca.pl.in Sun Nov 27 22:01:33 2005
@@ -48,7 +48,18 @@
# required version number so that the minimum module version numbers
# can be listed in once place instead of spread out in each Orca::*
# module.
+
+# Using the Data::Dumper module on an Ubuntu Breezy Badger (5.10)
+# system with Perl 5.8.7 generates the warning 'Argument "2.121_04"
+# isn't numeric in subroutine entry', so temporarily turn off warnings
+# when using this module. Removing the minimum required version of
+# Data::Dumper also removes the warning, but Orca should demand a
+# particular version of Data::Dumper for systems with older Perls with
+# older Data::Dumper's.
+no warnings;
use Data::Dumper @DATA_DUMPER_VER@;
+use warnings;
+
use Digest::MD5 @DIGEST_MD5_VER@;
use Math::IntervalSearch @MATH_INTERVALSEARCH_VER@ qw(interval_search);
use Storable @STORABLE_VER@;
More information about the Orca-checkins
mailing list