Apache-Description
view release on metacpan or search on metacpan
Description.pm view on Meta::CPAN
if ($5 ne $wanted)
{ print $fd "$_\n" }
} else {
print $fd "$_\n";
}
}
croak "no file descriptor available : $!" if (not defined $fh or not defined $fd);
rename "/tmp/htaccess.$$", $filename
or croak "rename(htaccess.$$,$filename) : $!";
}
## this function can return an array, or a scalar
## according to the context of the next description.
##
## @ array = ($filename, $description)
##
## $ scal = qq/$filename:$description/
##
sub next {
Description.pm view on Meta::CPAN
if ( $f eq $wanted) {
$ret = $d;
last;
}
}
return $ret;
}
sub rename {
print qq/Not implemented yet\n/;
}
sub ispresent($) {
my $self = shift;
my $file = shift;
return $self->get($file) ? 1 : 0;
}
( run in 0.254 second using v1.01-cache-2.11-cpan-131fc08a04b )