logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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 Method::Lexical to safely apply the UNIVERSAL effect to just your lexical scope.

Name

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

See Also

       Object::ID, Method::Lexical

perl v5.36.0                                       2022-06-16                         UNIVERSAL::Object::ID(3pm)

Synopsis

           use DateTime;  # for example
           use UNIVERSAL::Object::ID;

           my $date = DateTime->now;

           print $date->object_id;

See Also