|
NAMEVenus::Role::Reflectable - Reflectable Role ABSTRACTReflectable Role for Perl 5 SYNOPSIS package Example;
use Venus::Class;
with 'Venus::Role::Reflectable';
sub test {
true
}
package main;
my $example = Example->new;
# $example->space;
DESCRIPTIONThis package modifies the consuming package and provides methods for introspecting the object and its underlying package. METHODSThis package provides the following methods: classclass() (string) The class method returns the class name for the given class or object. Since 0.01
metameta() (Venus::Meta) The meta method returns a Venus::Meta object for the given object. Since 1.23
reifyreify(string | coderef $code, any @args) (object) The reify method dispatches the method call or executes the callback and returns the result as a value object. Since 1.23
spacespace() (Venus::Space) The space method returns a Venus::Space object for the given object. Since 0.01
typetype(string | coderef $code, any @args) (Venus::Type) The type method dispatches the method call or executes the callback and returns the result as a Venus::Type object. Since 0.01
AUTHORSAwncorp, "awncorp@cpan.org" LICENSECopyright (C) 2022, Awncorp, "awncorp@cpan.org". This program is free software, you can redistribute it and/or modify it under the terms of the Apache license version 2.0.
|