Proposal: One-liners

[email protected] (Rich Bowen)
Newsgroups perl.scripts
Organization RCBowen.com
Message-ID <[email protected]>
I think that it might be a little useful to have some variety of
one-liner repository in the CPAN script section, or perhaps elsewhere if
that makes more sense. These might be something like the following
example:

=head1 Using CPAN.pm

	perl -MCPAN -e shell

=head1 What does it do?

Launches the CPAN shell in order to install modules from CPAN

=head1 Explanation

The -M switch loads a module. The syntax is -MI<modulename>, such as
-MCPAN to load C<CPAN.pm> or -MTime::JulianDay to load
C<Time::JulianDay>.

The -e switch indicates that what follows on the command line is the
Perl code to be run. This is usually enclosed in single-quotes (double
quotes on Win32), but in this case, since it is just a single word, this
is not necessary.

=cut

This is just a thought that I had last night. I know that there are
several one-liner web sites around, but it might be nice to have such a
beast under CPAN. Perhaps have this as a subdir under Scripts, and have
it available as HTML and/or text and/or POD. Any thoughts on this?

Rich
-- 
http://www.ApacheUnleashed.com/
Lexington Perl Mongers - http://lexington.pm.org/
PGP Key - http://www.rcbowen.com/pgp.txt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.