Acme-MetaSyntactic
view release on metacpan or search on metacpan
script/meta view on Meta::CPAN
}
__END__
=head1 NAME
meta - A simple front-end to Acme::MetaSyntactic
=head1 SYNOPSIS
B<meta> [ I<--whitespace|ws> ] [ I<--help> ] [ I<--version> ] [ I<--remote> ] [ I<--check> ] [ I<--sources> ] [ I<--category category> ] I<theme>[I</category>] [ I<count> ]
=head1 DESCRIPTION
B<meta> is a simple front-end to Acme::MetaSyntactic.
A few examples should make it easy to understand what it does and how
it works:
$ meta
baz
$ meta batman
powie
$ meta donmartin 3
kloong
thoof_foing
weeooweeeoooo
$ meta -ws browser 4
arachne netscape voyager w3m
In short, the default theme is C<foo>, the default count is 1, the default
separator is C<$/>, but you can replace it by whitespace with I<--ws>.
=head1 COMMAND-LINE OPTIONS
The following command-line options are available:
=head2 Metasyntactic options
=over 4
=item I<--whitespace>, I<--ws>
Print all items on a single line, separated by space.
=item I<--remote>
Fetch the remote list (if available) and print it.
=item I<--check>
Fetch the remote list (if available) and print only the differences betwen
the current list and the remote list (items are prefixed by C<+> and C<->).
Option added by Abigail.
The output of this option is affected by the I<--whitespace> option.
=item I<--category> category
Only select items in the given category (for C<Acme::MetaSyntactic::MultiList>
subclasses). If not given, use the default category.
Silently fallbacks to the default if the category doesn't exist.
Another way to ask for a specific category is to skip the I<--category>
option and directly ask for C<theme/category>. Note that you cannot use
both calling conventions simultaneously.
=back
=head2 Informative options
The program will exit if any of these options is selected.
However, these options can be combined.
=over 4
=item I<--themes>
Print the list of available themes.
=item I<--sources>
Print the URLs used by a remote list.
=item I<--version>
Print version information.
=item I<--help>
Print a short help message.
=back
=head1 SUCCESS STORIES
B<meta> is the script of choice for a new generation of hackers.
Here are a few comments from satisfied users:
=over 4
=item *
I<C<Acme::MetaSyntactic> makes me more productive when I have to write
regression tests for my Perl modules. No more do I spend time looking
for variable names! It simply changed my life.>
-- Rafael Garcia-Suarez, pumpking,
used AMS when writing tests for C<Sub::Identify>.
=item *
I<C<Acme::MetaSyntactic> gave names for regression tests in the Perl core>
See L<https://github.com/Perl/perl5/commit/adc51b978ed1b2e9d4512c9bfa80386ac917d05a>.
=item *
I<Your module has been a wonderful timesaver for me. How much time I used to
spend on thinking about good and meaningful variable names, and now I have
them at the snap of a finger!>
-- Gisbert W. Selke
=item *
[...] I<with the help of Acme::MetaSyntatic I've been able to do some
rudimentary code generation techniques that save me a lot of time without
much outlay.>
-- Mark Fowler
( run in 2.653 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )