Changeset 17664
- Timestamp:
- May 13, 2008, 3:52:31 PM (18 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
r17651 r17664 1 1 # Copyright (c) 2006 Paul Price, Joshua Hoblitt 2 2 # 3 # $Id: Config.pm,v 1.8 3 2008-05-13 20:26:53 jhoblittExp $3 # $Id: Config.pm,v 1.84 2008-05-14 01:52:31 bills Exp $ 4 4 5 5 package PS::IPP::Config; … … 364 364 my $self = shift; # Configuration object 365 365 my $name = shift; # File name to check 366 my $touch = shift; # if $name is in nebulous instantiate it 366 367 367 368 my $scheme = file_scheme($name); # The scheme, e.g., file://, path:// … … 374 375 $self->_neb_start(); 375 376 my $neb = $self->{nebulous}; # Nebulous handle 377 if ($touch) { 378 unless ($neb->stat( $name )) { 379 unless($neb->create( $name )) { 380 carp "unable to instantiate $name."; 381 exit($PS_EXIT_DATA_ERROR); 382 } 383 } 384 } 376 385 return $neb->find( $name ); 377 386 }
Note:
See TracChangeset
for help on using the changeset viewer.
