man > User::Identity::Location

📖 NAME

User::Identity::Location — physical location of a person

🚀 Quick Reference

Use CaseCommandDescription
🏗️ Create location objectUser::Identity::Location->new(name => 'home', %options)Create a new physical location (home, work, travel)
➕ Add location to user$user->add(location => $location)Attach a location to a User::Identity object
📍 Get full mailing address$location->fullAddress()Returns formatted postal address (country-dependent)
📞 Get phone numbers$location->phone()Returns one or more phone numbers (list or scalar)
📠 Get fax numbers$location->fax()Returns one or more fax numbers
🌍 Get country from code$location->countryCode()ISO country abbreviation (auto-resolves to country name)
🏢 Get organization$location->organization()Company or organization associated with this location
🏠 Get street address$location->street()Street address line (supports Unicode)
📬 Get postal code$location->postalCode()Country-dependent postal code
📦 Get PO Box$location->pobox()P.O. Box specification

🔗 INHERITANCE

User::Identity::Location
  is a User::Identity::Item

📝 SYNOPSIS

use User::Identity;
use User::Identity::Location;
my $me   = User::Identity->new(...);
my $addr = User::Identity::Location->new(...);
$me->add(location => $addr);

# Simpler

use User::Identity;
my $me   = User::Identity->new(...);
my $addr = $me->add(location => ...);

📄 DESCRIPTION

The User::Identity::Location object contains the description of a physical location of a person: home, work, travel. The locations are collected by a User::Identity::Collection::Locations object.

Nearly all methods can return undef. Some methods produce language or country specific output.

Extends "DESCRIPTION" in User::Identity::Item.

⚙️ METHODS

Extends "METHODS" in User::Identity::Item.

🏗️ Constructors

Extends "Constructors" in User::Identity::Item.

🔖 Attributes

Extends "Attributes" in User::Identity::Item.

📚 Collections

Extends "Collections" in User::Identity::Item.

🔍 Searching

Extends "Searching" in User::Identity::Item.

⚠️ DIAGNOSTICS

📚 SEE ALSO

This module is part of User-Identity distribution version 1.01, built on February 11, 2022. Website: http://perl.overmeer.net/CPAN/

📜 LICENSE

Copyrights 2003-2022 by [Mark Overmeer <markov AT cpan.org>]. For other contributors see ChangeLog.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/

User::Identity::Location
📖 NAME 🚀 Quick Reference 🔗 INHERITANCE 📝 SYNOPSIS 📄 DESCRIPTION ⚙️ METHODS
🏗️ Constructors 🔖 Attributes 📚 Collections 🔍 Searching
⚠️ DIAGNOSTICS 📚 SEE ALSO 📜 LICENSE

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-27 17:44 @216.73.216.199
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format

^_top_^