AFS

 view release on metacpan or  search on metacpan

examples/v2/vldb/removeaddr  view on Meta::CPAN

#!/usr/local/bin/perl

use blib;
use strict;
use warnings;

use AFS::VLDB;

my ($vldb, $address, $ok);

die "Usage: $0 ip_address\n" if $#ARGV != 0;

$address = shift;

$vldb = AFS::VLDB->new;
$AFS::CODE and print "AFS::CODE = $AFS::CODE\n";

$ok = $vldb->removeaddr($address);
if ($AFS::CODE) { print "AFS::CODE = $AFS::CODE\n"; }
else            { print "OK = $ok\n"; }



( run in 1.946 second using v1.01-cache-2.11-cpan-f56aa216473 )