Changeset 10570 for trunk/PS-IPP-Config/lib/PS/IPP/Config.pm
- Timestamp:
- Dec 8, 2006, 9:49:14 AM (20 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
r10569 r10570 1 1 # Copyright (c) 2006 Paul Price, Joshua Hoblitt 2 2 # 3 # $Id: Config.pm,v 1.1 6 2006-12-08 19:41:56price Exp $3 # $Id: Config.pm,v 1.17 2006-12-08 19:49:14 price Exp $ 4 4 5 5 package PS::IPP::Config; … … 44 44 45 45 my $path = _interpolate_env(_mdLookupStr($mdc, 'PATH')); # The path 46 my $workdir = _interpolate_env(_mdLookupStr($mdc, 'WORKDIR')); # The working directory47 46 croak "PATH is not set in $name\n" unless defined $path; 48 croak "WORKDIR is not set in $name\n" unless defined $workdir;49 47 50 48 # Interpolate environment variables in the work directory … … 52 50 my $self = { 53 51 path => $path, # Path 54 workdir => $workdir, # Working directory55 52 camera => undef, # Camera configuration 56 53 _ipprc => $mdc # The parsed configuration
Note:
See TracChangeset
for help on using the changeset viewer.
