GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MooseX::TraitFor::Meta::Class::BetterAnonClassNames(3) User Contributed Perl Documentation MooseX::TraitFor::Meta::Class::BetterAnonClassNames(3)

MooseX::TraitFor::Meta::Class::BetterAnonClassNames - Metaclass trait to *attempt* to demystify generated anonymous class names

This document describes version 0.002003 of MooseX::TraitFor::Meta::Class::BetterAnonClassNames - released March 23, 2017 as part of MooseX-TraitFor-Meta-Class-BetterAnonClassNames.

Read-only, Boolean, default: false.

Provides an attribute in the place of "is_anon" in Class::MOP::Package.

Read-only, String

Builder method for the "anon_package_prefix" attribute.

Defines what the "middle" of our anonymous package names is; provided for ease of overriding and hardcoded to:

    ::__ANON__::SERIAL::

Returns the full prefix used to generate anonymous package names; if called on an instance then returns a sensible prefix (generally class name) stashed in "anon_package_prefix"; otherwise returns the result of a call to "_anon_package_prefix" in Moose::Meta::Class.

Set the package name to a nicer anonymous class name if is_anon is passed and true and anon_package_prefix is passed and a non-empty string.

Create an anonymous class, as via "create_anon_class" in Moose::Meta::Class, but with a kinder, gentler package name -- if possible.

You really want to be looking at "with_traits" in MooseX::Util.

Resolves out to the full name of this trait.

Please see those modules/websites for more information related to this module.
MooseX::Util

Please report any bugs or feature requests on the bugtracker website <https://github.com/RsrchBoy/moosex-traitfor-meta-class-betteranonclassnames/issues>

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

Chris Weyl <cweyl@alumni.drew.edu>

This software is Copyright (c) 2014 by Chris Weyl.

This is free software, licensed under:

  The GNU Lesser General Public License, Version 2.1, February 1999
2017-03-23 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.