AFS
view release on metacpan or search on metacpan
examples/v2/cm/setcellstatus view on Meta::CPAN
#!/usr/local/bin/perl
use blib;
use strict;
use warnings;
use AFS::CM qw (setcellstatus);
die "Usage: $0 cell setuid\n" if ($#ARGV==-1);
my $cell = shift;
my $setuid = shift;
my $ok = setcellstatus($setuid, $cell);
if ($AFS::CODE) { print "AFS::CODE = $AFS::CODE\n"; }
else { printf("Command successfull: %s \n", $ok ? 'yes' : 'no'); }
( run in 0.592 second using v1.01-cache-2.11-cpan-39bf76dae61 )