Skip to content

Commit

Permalink
provide the -Meta shortcut for one-liners
Browse files Browse the repository at this point in the history
  • Loading branch information
book committed May 7, 2012
1 parent 23a452d commit 6d13a30
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST
Expand Up @@ -9,6 +9,7 @@ lib/Acme/MetaSyntactic/List.pm
lib/Acme/MetaSyntactic/Locale.pm
lib/Acme/MetaSyntactic/MultiList.pm
lib/Acme/MetaSyntactic/RemoteList.pm
lib/eta.pm
lib/Test/MetaSyntactic.pm
Makefile.PL
MANIFEST This list of files
Expand Down
41 changes: 41 additions & 0 deletions lib/eta.pm
@@ -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

0 comments on commit 6d13a30

Please sign in to comment.