-
-
30 May 2021 14:09:30 UTC
- Distribution: namespace-allclean
- Module version: 0.03
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (105 / 0 / 0)
- Kwalitee
Bus factor: 1- 100.00% Coverage
- License: perl_5
- Perl: v5.10.1
- Activity
24 month- Tools
- Download (9.42KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
namespace::allclean - Avoid imports all subroutines into your namespace
SYNOPSIS
package Foo; use namespace::allclean; sub bar { } # later on: Foo->bar; # will fail. `bar` got cleaned after compilation.
DESCRIPTION
namespace::allclean
will remove all subroutines at the end of the current package's compile cycle. Functions called in the package itself will still be bound by their name, but they won't show up as methods on your class or instances.This module is intended to be used when defining the interface.
LICENSE
Copyright (C) kfly8.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
kfly8 <kfly8@cpan.org>
Module Install Instructions
To install namespace::allclean, copy and paste the appropriate command in to your terminal.
cpanm namespace::allclean
perl -MCPAN -e shell install namespace::allclean
For more information on module installation, please visit the detailed CPAN module installation guide.