#!/usr/local/bin/perl

use blib;
use strict;
use warnings;

use AFS::Cell qw (whichcell);

die "Usage: $0 dir \n" if $#ARGV != 0;
my $dir = shift;

my $cell = whichcell($dir);
if ($AFS::CODE) { print "AFS::CODE = $AFS::CODE\n"; }
else            { print "which cell = $cell\n"; }
