Quota-OO
view release on metacpan or search on metacpan
lib/Quota/OO.pm view on Meta::CPAN
}
sub set_uid {
my ($self, $uid) = @_;
$uid{ ident $self } = $uid =~ m{^\d+$} ? $uid : $>;
}
sub set_gid {
my ($self, $gid) = @_;
$gid{ ident $self }
= $gid =~ m{^\d+$} ? $gid : ( getpwuid($uid{ ident $self }) )[3];
}
#### do rcp* ##
#### Quota::rpcquery ##
sub rpcquery {
my ($self, $host, $path, $uid) = @_;
Quota::rpcquery(
defined $host ? $host : $rpc_host{ ident $self },
defined $path ? $path : $rpc_path{ ident $self },
( run in 0.234 second using v1.01-cache-2.11-cpan-454fe037f31 )