GetRc
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
$h_input{"$key"} = $value;
}
}
flock($rc,LOCK_UN),$self->dprint( $self->{'filename'} ." unlocked") if ( $self->{'lock'} );
$rc->close;
croak "Can't close file ".$self->{'filename'} .": $1" if $?;
$self->dprint( $self->{'filename'} ." closed");
return(0);
}
sub updaterc ($\%){
my $self = shift;
local *h_input = shift;
my ( $key, $value, $rc, %update_input);
$self->dprint("join to updaterc");
$self->dprint("WARN: file ".$self->{'filename'}." doesn't exist") unless ( -e $self->{'filename'} );
$self->dprint("WARN: Can't read file ".$self->{'filename'}) unless ( -r $self->{'filename'} || -R $self->{'filename'} );
### locking ? uff .. this a bit messy code
if ( $self->{'lock'} ) {
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.750 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )