Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

UNIVERSAL::Object::ID

Name UNIVERSAL::Object::ID
Version v0.1.2
Located at /usr/share/perl5
File /usr/share/perl5/UNIVERSAL/Object/ID.pm
Is Core No
Search CPAN for this module UNIVERSAL::Object::ID
Documentation UNIVERSAL::Object::ID
Module Details UNIVERSAL::Object::ID

NAME

UNIVERSAL::Object::ID - Supply a unique object identifier to every object


SYNOPSIS

    use DateTime;  # for example
    use UNIVERSAL::Object::ID;
    my $date = DateTime->now;
    print $date->object_id;


DESCRIPTION

Loading UNIVERSAL::Object::ID makes the Object::ID role available to every object.

Use at your own risk, polluting UNIVERSAL is not to be taken lightly. The best place to use this module is in your own personal or internal use code rather than a widely distributed software library. Or you can use the Method::Lexical manpage to safely apply the UNIVERSAL effect to just your lexical scope.


SEE ALSO

the Object::ID manpage, the Method::Lexical manpage

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026