[svn:p5ee] r14127 - p5ee/trunk/App-Context/lib/App

[email protected] Wed, 9 Jun 2010 14:12:59 -0700 (PDT)
Newsgroups perl.cvs.p5ee
Message-ID <[email protected]>
Author: spadkins
Date: Wed Jun  9 14:12:59 2010
New Revision: 14127

Modified:
   p5ee/trunk/App-Context/lib/App/Context.pm

Log:
protected against a spurious warning being generated

Modified: p5ee/trunk/App-Context/lib/App/Context.pm
==============================================================================
--- p5ee/trunk/App-Context/lib/App/Context.pm	(original)
+++ p5ee/trunk/App-Context/lib/App/Context.pm	Wed Jun  9 14:12:59 2010
@@ -318,7 +318,7 @@
     ##############################################################
     # misc
     ##############################################################
-    if ($options{debug_conf} >= 2) {
+    if (defined $options{debug_conf} && $options{debug_conf} >= 2) {
         $self->dbgprint($self->{conf}->dump());
     }