[perldocjp-cvs 655] CVS update: docs/modules/App-perlbrew-0.10/lib/App

アーカイブの一覧に戻る

iwai****@users***** iwai****@users*****
2010年 9月 4日 (土) 18:00:00 JST


Index: docs/modules/App-perlbrew-0.10/lib/App/perlbrew.pod
diff -u /dev/null docs/modules/App-perlbrew-0.10/lib/App/perlbrew.pod:1.1
--- /dev/null	Sat Sep  4 18:00:00 2010
+++ docs/modules/App-perlbrew-0.10/lib/App/perlbrew.pod	Sat Sep  4 18:00:00 2010
@@ -0,0 +1,187 @@
+=head1 NAME
+
+App::perlbrew - Manage perl installations in your $HOME
+
+=head1 SYNOPSIS
+
+    # Initialize
+    perlbrew init
+
+    # pick a prefered CPAN mirror
+    perlbrew mirror
+
+    # Install some Perls
+    perlbrew install perl-5.12.1
+    perlbrew install perl-5.8.1
+    perlbrew install perl-5.11.5
+
+    # See what were installed
+    perlbrew installed
+
+    # Switch perl in the $PATH
+    perlbrew switch perl-5.12.1
+    perl -v
+
+    # Switch to another version
+    perlbrew switch perl-5.8.1
+    perl -v
+
+    # Switch to a certain perl executable not managed by perlbrew.
+    perlbrew switch /usr/bin/perl
+
+    # Or turn it off completely. Useful when you messed up too deep.
+    perlbrew off
+
+    # Use 'switch' command to turn it back on.
+    perlbrew switch perl-5.12.1
+
+=head1 DESCRIPTION
+
+perlbrew is a program to automate the building and installation of
+perl in the users HOME. At the moment, it installs everything to
+C<~/perl5/perlbrew>, and requires you to tweak your PATH by including a
+bashrc/cshrc file it provides. You then can benefit from not having
+to run 'sudo' commands to install cpan modules because those are
+installed inside your HOME too. It's a completely separate perl
+environment.
+
+=head1 INSTALLATION
+
+The recommended way to install perlbrew is to run these statements in
+your shell:
+
+    curl -LO http://xrl.us/perlbrew
+    chmod +x perlbrew
+    ./perlbrew install
+
+After that, C<perlbrew> installs itself to C<~/perl5/perlbrew/bin>,
+and you should follow the instruction on screen to setup your
+C<.bashrc> or C<.cshrc> to put it in your PATH.
+
+The directory C<~/perl5/perlbrew> will contain all install perl
+executables, libraries, documentations, lib, site_libs. If you need to
+install C<perlbrew>, and the perls it brews, into somewhere else
+because, say, your HOME has limited quota, you can do that by setting
+a C<PERLBREW_ROOT> environment variable before you run C<./perlbrew install>.
+
+    export PERLBREW_ROOT=/mnt/perlbrew
+    ./perlbrew install
+
+The downloaded perlbrew is a self-contained standalone program that
+embed all non-core modules it uses. It should be runnable with perl
+5.8 or later versions of perl.
+
+You may also install perlbrew from CPAN with cpan / cpanp / cpanm:
+
+    cpan App::perlbrew
+
+This installs 'perlbrew' into your current PATH and it is always
+executed with your current perl.
+
+NOTICE. When you install or upgrade perlbrew with cpan / cpanp /
+cpanm, make sure you are not using one of the perls brewed with
+perlbrew. If so, the `perlbrew` executable you just installed will not
+be available after you swith to other perls. You might not be able to
+invoke further C<perlbrew> commands after so because the executable
+C<perlbrew> is not in your C<PATH> anymore. Installing it again with
+cpan can temporarily solve this problem. To ensure you are not using
+a perlbrewed perl, run C<perlbrew off> before upgrading.
+
+
+It should be relatively safe to install C<App::perlbrew> with system
+cpan (like C</usr/bin/cpan>) because then it will be installed under a
+system PATH like C</usr/bin>, which is not effected by C<perlbrew switch>
+command.
+
+Again, it is recommended to let C<perlbrew> install itself. It's
+easier, and it works better.
+
+=head1 USAGE
+
+Please read the program usage by running
+
+    perlbrew
+
+(No arguments.) To read a more detail one:
+
+    perlbrew -h
+
+Alternatively, this should also do:
+
+    perldoc perlbrew
+
+If you messed up too much or get confused by having to many perls
+installed, you can do:
+
+    perlbrew switch /usr/bin/perl
+
+It will make sure that your current perl in the PATH is pointing
+to C</usr/bin/perl>.
+
+As a matter of fact the C<switch> command checks whether the given
+argument is an executale or not, and create a symlink named 'perl' to
+it if it is. If you really want to you are able to do:
+
+    perlbrew switch /usr/bin/perl6
+
+But maybe not. After running this you might not be able to run
+perlbrew anymore. So be careful not making mistakes there.
+
+=head1 AUTHOR
+
+Kang-min Liu  C<< <gugod****@gugod*****> >>
+
+=head1 COPYRIGHT
+
+Copyright (c) 2010, Kang-min Liu C<< <gugod****@gugod*****> >>.
+
+The standalone executable contains the following modules embedded.
+
+=over 4
+
+=item L<HTTP::Lite>
+
+Copyright (c) 2000-2002 Roy Hopper, 2009 Adam Kennedy.
+
+Licensed under the same term as Perl itself.
+
+=back
+
+=head1 LICENCE
+
+The MIT License
+
+=head1 CONTRIBUTORS
+
+Patches and code improvements has been contributed by:
+
+Tatsuhiko Miyagawa, Chris Prather, Yanick Champoux, aero, Jason May,
+Jesse Leuhrs, Andrew Rodland, Justin Davis, Masayoshi Sekimura,
+castaway, jrockway, chromatic, Goro Fuji, Sawyer X, and Danijel Tasov.
+
+=head1 DISCLAIMER OF WARRANTY
+
+BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
+EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
+ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
+YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
+NECESSARY SERVICING, REPAIR, OR CORRECTION.
+
+IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE
+LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL,
+OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
+THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+
+=cut
+



perldocjp-cvs メーリングリストの案内
アーカイブの一覧に戻る