AFS

 view release on metacpan or  search on metacpan

examples/v2/pts/PR_RemoveFromGroup  view on Meta::CPAN

#!/usr/local/bin/perl

use blib;
use strict;
use warnings;

use AFS::PTS;

die "Usage: $0 uid gid\n" if $#ARGV !=1;

my $uid = shift;
my $gid = shift;

my $pts = AFS::PTS->new;
$AFS::CODE and print "AFS::CODE = $AFS::CODE\n";

my $ok = $pts->PR_RemoveFromGroup($uid, $gid);
if ($AFS::CODE) { print "AFS::CODE = $AFS::CODE\n"; }
else            { print "success  = $ok\n"; }



( run in 0.847 second using v1.01-cache-2.11-cpan-5735350b133 )