use Tie::getCity; # If the module name was Tie/getCity.pm tie($foo, 'Tie::getCity', $ENV{REMOTE_USER});