Index: /trunk/PS-IPP-Config/lib/PS/IPP/Config.pm
===================================================================
--- /trunk/PS-IPP-Config/lib/PS/IPP/Config.pm	(revision 11849)
+++ /trunk/PS-IPP-Config/lib/PS/IPP/Config.pm	(revision 11850)
@@ -1,5 +1,5 @@
 # Copyright (c) 2006  Paul Price, Joshua Hoblitt
 #
-# $Id: Config.pm,v 1.30 2007-02-15 22:35:38 price Exp $
+# $Id: Config.pm,v 1.31 2007-02-16 20:58:15 price Exp $
 
 package PS::IPP::Config;
@@ -61,6 +61,5 @@
 
     my $file;			# File handle
-    open $file, $name;
-    unless ($file) {
+    unless (open $file, $name) {
 	carp "Unable to open ipprc file $name: $!";
 	exit($PS_EXIT_CONFIG_ERROR);
@@ -142,6 +141,5 @@
     # Read the file
     my $file;			# File handle
-    open $file, $realfile;
-    unless ($file) {
+    unless (open $file, $realfile) {
 	carp "Unable to open camera configuration file $realfile: $!";
 	exit($PS_EXIT_CONFIG_ERROR);
