Query: universal::object::id
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
UNIVERSAL::Object::ID(3pm) User Contributed Perl Documentation UNIVERSAL::Object::ID(3pm)NAMEUNIVERSAL::Object::ID - Supply a unique object identifier to every objectSYNOPSISuse DateTime; # for example use UNIVERSAL::Object::ID; my $date = DateTime->now; print $date->object_id;DESCRIPTIONLoading 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.SEE ALSOObject::ID, Method::Lexical perl v5.12.4 2011-09-26 UNIVERSAL::Object::ID(3pm)