Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/perigrin/exportare
Export::Lite + Sub::Exporter + Drugs
https://github.com/perigrin/exportare
Last synced: 22 days ago
JSON representation
Export::Lite + Sub::Exporter + Drugs
- Host: GitHub
- URL: https://github.com/perigrin/exportare
- Owner: perigrin
- Created: 2010-04-18T03:26:39.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-09-14T22:06:31.000Z (over 13 years ago)
- Last Synced: 2024-05-01T22:51:31.298Z (8 months ago)
- Language: Perl
- Size: 97.7 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Exportare
What would happen if Sub::Exporter and Exporter::Lite had a baby.
## Synopsis
package Foo;
use 5.12;
use Exportare;
our @EXPORT = qw(run);
sub run { ... }
package Bar;
use Foo run => { -as => 'run_fast' }
sub run {
run_fast(); # hide good
}## Description
While playing with a module that used Export::Lite it came up that we
would really like to have Sub::Exporter style remapping of imports.
Something between the two was really needed. Rather than poking about
CPAN and trying to find something that mostly sort of kind of would do,
I decided to re-invent the wheel.## WTF?
I blame miyagawa's drugs.