AFS

 view release on metacpan or  search on metacpan

examples/v2/cm/getcellstatus  view on Meta::CPAN

#!/usr/local/bin/perl

use blib;
use strict;
use warnings;

use AFS::CM qw (getcellstatus);

die "Usage: $0 cell\n" if ($#ARGV==-1);

my $cell = shift;

my $setuid = getcellstatus($cell);
if ($AFS::CODE) { print "AFS::CODE = $AFS::CODE\n"; }
else            { printf("Setuid allowed: %s \n", $setuid ? 'yes' : 'no'); }



( run in 0.584 second using v1.01-cache-2.11-cpan-39bf76dae61 )