Changeset 11850
- Timestamp:
- Feb 16, 2007, 10:58:15 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/PS-IPP-Config/lib/PS/IPP/Config.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-Config/lib/PS/IPP/Config.pm
r11835 r11850 1 1 # Copyright (c) 2006 Paul Price, Joshua Hoblitt 2 2 # 3 # $Id: Config.pm,v 1.3 0 2007-02-15 22:35:38price Exp $3 # $Id: Config.pm,v 1.31 2007-02-16 20:58:15 price Exp $ 4 4 5 5 package PS::IPP::Config; … … 61 61 62 62 my $file; # File handle 63 open $file, $name; 64 unless ($file) { 63 unless (open $file, $name) { 65 64 carp "Unable to open ipprc file $name: $!"; 66 65 exit($PS_EXIT_CONFIG_ERROR); … … 142 141 # Read the file 143 142 my $file; # File handle 144 open $file, $realfile; 145 unless ($file) { 143 unless (open $file, $realfile) { 146 144 carp "Unable to open camera configuration file $realfile: $!"; 147 145 exit($PS_EXIT_CONFIG_ERROR);
Note:
See TracChangeset
for help on using the changeset viewer.
