{
    "mode": "perldoc",
    "parameter": "Moose::Object",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Moose%3A%3AObject/json",
    "generated": "2026-06-12T17:45:29Z",
    "sections": {
        "NAME": {
            "content": "Moose::Object - The base object for Moose\n",
            "subsections": []
        },
        "VERSION": {
            "content": "version 2.2200\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This class is the default base class for all Moose-using classes. When you \"use Moose\" in this\nclass, your class will inherit from this class.\n\nIt provides a default constructor and destructor, which run all of the \"BUILD\" and \"DEMOLISH\"\nmethods in the inheritance hierarchy, respectively.\n\nYou don't actually *need* to inherit from this in order to use Moose, but it makes it easier to\ntake advantage of all of Moose's features.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "Moose::Object->new(%params|$params)\nThis method calls \"$class->BUILDARGS(@)\", and then creates a new instance of the appropriate\nclass. Once the instance is created, it calls \"$instance->BUILD($params)\" for each \"BUILD\"\nmethod in the inheritance hierarchy.\n\nMoose::Object->BUILDARGS(%params|$params)\nThe default implementation of this method accepts a hash or hash reference of named parameters.\nIf it receives a single argument that *isn't* a hash reference it throws an error.\n\nYou can override this method in your class to handle other types of options passed to the\nconstructor.\n\nThis method should always return a hash reference of named options.\n\n$object->does($rolename)\nThis returns true if the object does the given role.\n\n$object->DOES($classorrolename)\nThis is a Moose role-aware implementation of \"DOES\" in UNIVERSAL.\n\nThis is effectively the same as writing:\n\n$object->does($name) || $object->isa($name)\n\nThis method will work with Perl 5.8, which did not implement \"UNIVERSAL::DOES\".\n\n$object->dump($maxdepth)\nThis is a handy utility for Data::Dumpering an object. By default, there is no maximum depth.\n\n$object->DESTROY\nA default destructor is provided, which calls \"$instance->DEMOLISH($inglobaldestruction)\" for\neach \"DEMOLISH\" method in the inheritance hierarchy.\n",
            "subsections": []
        },
        "BUGS": {
            "content": "See \"BUGS\" in Moose for details on reporting bugs.\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "*   Stevan Little <stevan@cpan.org>\n\n*   Dave Rolsky <autarch@urth.org>\n\n*   Jesse Luehrs <doy@cpan.org>\n\n*   Shawn M Moore <sartak@cpan.org>\n\n*   יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>\n\n*   Karen Etheridge <ether@cpan.org>\n\n*   Florian Ragwitz <rafl@debian.org>\n\n*   Hans Dieter Pearcey <hdp@cpan.org>\n\n*   Chris Prather <chris@prather.org>\n\n*   Matt S Trout <mstrout@cpan.org>\n",
            "subsections": []
        },
        "COPYRIGHT AND LICENSE": {
            "content": "This software is copyright (c) 2006 by Infinity Interactive, Inc.\n\nThis is free software; you can redistribute it and/or modify it under the same terms as the Perl\n5 programming language system itself.\n",
            "subsections": []
        }
    },
    "summary": "Moose::Object - The base object for Moose",
    "flags": [],
    "examples": [],
    "see_also": []
}