Mason::Component::ClassMeta
Meta-information about Mason component class
- Provided by: libmason-perl (Version: 2.24-2)
- Report a bug
Meta-information about Mason component class
# In a component:
My path is <% $.cmeta->path %>
My source file is <% $.cmeta->source_file %>
Every Mason::Component class has an associated Mason::Component::ClassMeta object, containing meta-information such as the component's path and source file. It can be accessed with the cmeta method.
Mason
Jonathan Swartz <swartz@pobox.com>
This software is copyright (c) 2012 by Jonathan Swartz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.