Give your module classic and OO interfaces
Class::OOorNO helps your module handle the input for its subroutines whether
called in object-oriented style (as object methods or class methods with the
arrow syntax ->), or in functional programming style (as subroutines imported
to the caller's namespace via Exporter).
The bulk of this module comprises a lightweight, pure-Perl emulation of the
Devel::Caller library's called_as_method() routine which is written in C.
Devel::Caller dives deep into the internals of of the Perl interpreter (see
perlguts) to trace stack frames and can get the input for any call in the
stack. It's really handy for Devel::opment and debugging.
This module is much more lightweight and focuses more on your module's Class::
methods themselves.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:perl/perl-Class-OOorNO && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
Class-OOorNO-0.011.tar.gz | 0000007840 7.66 KB | |
cpanspec.yml | 0000000914 914 Bytes | |
perl-Class-OOorNO.changes | 0000000154 154 Bytes | |
perl-Class-OOorNO.spec | 0000002364 2.31 KB |
Comments 0