Changeset 13260
- Timestamp:
- May 4, 2007, 2:54:10 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/PS-IPP-Config/lib/PS/IPP/Config.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-Config/lib/PS/IPP/Config.pm
r13250 r13260 1 1 # Copyright (c) 2006 Paul Price, Joshua Hoblitt 2 2 # 3 # $Id: Config.pm,v 1.4 0 2007-05-04 23:36:04 priceExp $3 # $Id: Config.pm,v 1.41 2007-05-05 00:54:10 jhoblitt Exp $ 4 4 5 5 package PS::IPP::Config; … … 61 61 my $name; # Name of ipprc file 62 62 GetOptions( 'site=s' => \$name ); 63 $name = $ENV{PS_SITE} unless defined $name; 64 $name = $ENV{HOME} . '/.ipprc' unless defined $name; 63 $name = $ENV{PS_SITE} if not defined $name; 64 no warnings qw( uninitialized ); 65 $name = $ENV{HOME} . '/.ipprc' if not defined $name; 66 use warnings; 65 67 66 68 my $file; # File handle
Note:
See TracChangeset
for help on using the changeset viewer.
