Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provide the -Meta shortcut for one-liners
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package eta; | ||
use strict; | ||
use Acme::MetaSyntactic; | ||
our @ISA = qw(Acme::MetaSyntactic); | ||
our $VERSION = '1.000'; | ||
"holy cow"; | ||
|
||
__END__ | ||
=head1 NAME | ||
eta - A shortcut for Acme::MetaSyntactic one-liners | ||
=head1 SYNOPSIS | ||
$ perl -Meta -E say+metaname | ||
plugh | ||
=head1 DESCRIPTION | ||
Typing the module full name in oneliners is more than cumbersome. | ||
Yes, there's already the meta(1) command for simple cases like this one, | ||
but for more complex cases combining several themes it's really better. | ||
=head1 AUTHORS | ||
Sébastien Aperghis-Tramoni, C<< <saper@cpan.org> >>, | ||
Philippe 'BooK' Bruhat, C<< <book@cpan.org> >> | ||
=head1 COPYRIGHT | ||
Copyright 2012 Philippe Bruhat (BooK), All Rights Reserved. | ||
=head1 LICENSE | ||
This program is free software; you can redistribute it and/or modify it | ||
under the same terms as Perl itself. | ||
=cut | ||