[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.188.130.151: ~ $
=head1 NAME

perlutil - utilities packaged with the Perl distribution

=head1 DESCRIPTION

Along with the Perl interpreter itself, the Perl distribution installs a
range of utilities on your system. There are also several utilities
which are used by the Perl distribution itself as part of the install
process. This document exists to list all of these utilities, explain
what they are for and provide pointers to each module's documentation,
if appropriate.

=head1 LIST OF UTILITIES

=head2 Documentation

=over 3

=item L<perldoc|perldoc>

The main interface to Perl's documentation is C<perldoc>, although
if you're reading this, it's more than likely that you've already found
it. F<perldoc> will extract and format the documentation from any file
in the current directory, any Perl module installed on the system, or
any of the standard documentation pages, such as this one. Use 
C<perldoc E<lt>nameE<gt>> to get information on any of the utilities
described in this document.

=item L<pod2man|pod2man> and L<pod2text|pod2text>

If it's run from a terminal, F<perldoc> will usually call F<pod2man> to
translate POD (Plain Old Documentation - see L<perlpod> for an
explanation) into a manpage, and then run F<man> to display it; if
F<man> isn't available, F<pod2text> will be used instead and the output
piped through your favourite pager.

=item L<pod2html|pod2html> and L<pod2latex|pod2latex>

As well as these two, there are two other converters: F<pod2html> will
produce HTML pages from POD, and F<pod2latex>, which produces LaTeX
files.

=item L<pod2usage|pod2usage>

If you just want to know how to use the utilities described here,
F<pod2usage> will just extract the "USAGE" section; some of
the utilities will automatically call F<pod2usage> on themselves when
you call them with C<-help>.

=item L<podselect|podselect>

F<pod2usage> is a special case of F<podselect>, a utility to extract
named sections from documents written in POD. For instance, while
utilities have "USAGE" sections, Perl modules usually have "SYNOPSIS"
sections: C<podselect -s "SYNOPSIS" ...> will extract this section for
a given file.

=item L<podchecker|podchecker>

If you're writing your own documentation in POD, the F<podchecker>
utility will look for errors in your markup.

=item L<splain|splain>

F<splain> is an interface to L<perldiag> - paste in your error message
to it, and it'll explain it for you.

=item C<roffitall>

The C<roffitall> utility is not installed on your system but lives in
the F<pod/> directory of your Perl source kit; it converts all the
documentation from the distribution to F<*roff> format, and produces a
typeset PostScript or text file of the whole lot.

=back

=head2 Converters

To help you convert legacy programs to Perl, we've included three
conversion filters:

=over 3

=item L<a2p|a2p>

F<a2p> converts F<awk> scripts to Perl programs; for example, C<a2p -F:>
on the simple F<awk> script C<{print $2}> will produce a Perl program
based around this code:

    while (<>) {
        ($Fld1,$Fld2) = split(/[:\n]/, $_, -1);
        print $Fld2;
    }

=item L<s2p|s2p> and L<psed>

Similarly, F<s2p> converts F<sed> scripts to Perl programs. F<s2p> run
on C<s/foo/bar> will produce a Perl program based around this:

    while (<>) {
        chomp;
        s/foo/bar/g;
        print if $printit;
    }

When invoked as F<psed>, it behaves as a F<sed> implementation, written in
Perl.

=item L<find2perl|find2perl>

Finally, F<find2perl> translates C<find> commands to Perl equivalents which 
use the L<File::Find|File::Find> module. As an example, 
C<find2perl . -user root -perm 4000 -print> produces the following callback
subroutine for C<File::Find>:

    sub wanted {
        my ($dev,$ino,$mode,$nlink,$uid,$gid);
        (($dev,$ino,$mode,$nlink,$uid,$gid) = lstat($_)) &&
        $uid == $uid{'root'}) &&
        (($mode & 0777) == 04000);
        print("$name\n");
    }

=back

As well as these filters for converting other languages, the
L<pl2pm|pl2pm> utility will help you convert old-style Perl 4 libraries to 
new-style Perl5 modules.

=head2 Administration

=over 3

=item L<config_data|config_data>

Query or change configuration of Perl modules that use Module::Build-based
configuration files for features and config data.

=item L<libnetcfg|libnetcfg>

To display and change the libnet configuration run the libnetcfg command.

=item L<perlivp>

The F<perlivp> program is set up at Perl source code build time to test
the Perl version it was built under.  It can be used after running C<make
install> (or your platform's equivalent procedure) to verify that perl
and its libraries have been installed correctly.

=back

=head2 Development

There are a set of utilities which help you in developing Perl programs, 
and in particular, extending Perl with C.

=over 3

=item L<perlbug|perlbug>

F<perlbug> is the recommended way to report bugs in the perl interpreter
itself or any of the standard library modules back to the developers;
please read through the documentation for F<perlbug> thoroughly before
using it to submit a bug report.

=item L<perlthanks|perlbug>

This program provides an easy way to send a thank-you message back to the
authors and maintainers of perl. It's just F<perlbug> installed under
another name.

=item L<h2ph|h2ph>

Back before Perl had the XS system for connecting with C libraries,
programmers used to get library constants by reading through the C
header files. You may still see C<require 'syscall.ph'> or similar
around - the F<.ph> file should be created by running F<h2ph> on the
corresponding F<.h> file. See the F<h2ph> documentation for more on how
to convert a whole bunch of header files at once.

=item L<c2ph|c2ph> and L<pstruct|pstruct>

F<c2ph> and F<pstruct>, which are actually the same program but behave
differently depending on how they are called, provide another way of
getting at C with Perl - they'll convert C structures and union declarations
to Perl code. This is deprecated in favour of F<h2xs> these days.

=item L<h2xs|h2xs>

F<h2xs> converts C header files into XS modules, and will try and write
as much glue between C libraries and Perl modules as it can. It's also
very useful for creating skeletons of pure Perl modules.

=item L<enc2xs>

F<enc2xs> builds a Perl extension for use by Encode from either
Unicode Character Mapping files (.ucm) or Tcl Encoding Files (.enc).
Besides being used internally during the build process of the Encode
module, you can use F<enc2xs> to add your own encoding to perl.
No knowledge of XS is necessary.

=item L<xsubpp>

F<xsubpp> is a compiler to convert Perl XS code into C code.
It is typically run by the makefiles created by L<ExtUtils::MakeMaker>.

F<xsubpp> will compile XS code into C code by embedding the constructs
necessary to let C functions manipulate Perl values and creates the glue
necessary to let Perl access those functions.

=item L<prove>

F<prove> is a command-line interface to the test-running functionality
of F<Test::Harness>.  It's an alternative to C<make test>.

=item L<corelist>

A command-line front-end to C<Module::CoreList>, to query what modules
were shipped with given versions of perl.

=back

=head2 General tools

A few general-purpose tools are shipped with perl, mostly because they
came along modules included in the perl distribution.

=over 3

=item L<piconv>

B<piconv> is a Perl version of B<iconv>, a character encoding converter
widely available for various Unixen today.  This script was primarily a
technology demonstrator for Perl 5.8.0, but you can use piconv in the
place of iconv for virtually any case.

=item L<ptar>

F<ptar> is a tar-like program, written in pure Perl.

=item L<ptardiff>

F<ptardiff> is a small utility that produces a diff between an extracted
archive and an unextracted one. (Note that this utility requires the
C<Text::Diff> module to function properly; this module isn't distributed
with perl, but is available from the CPAN.)

=item L<ptargrep>

F<ptargrep> is a utility to apply pattern matching to the contents of files 
in a tar archive.

=item L<shasum>

This utility, that comes with the C<Digest::SHA> module, is used to print
or verify SHA checksums.

=item L<zipdetails>

L<zipdetails> displays information about the internal record structure of the zip file.
It is not concerned with displaying any details of the compressed data stored in the zip file.

=back

=head2 Installation

These utilities help manage extra Perl modules that don't come with the perl
distribution.

=over 3

=item L<cpan>

F<cpan> is a command-line interface to CPAN.pm.  It allows you to install
modules or distributions from CPAN, or just get information about them, and
a lot more.  It is similar to the command line mode of the L<CPAN> module,

    perl -MCPAN -e shell

=item L<cpanp>

F<cpanp> is, like F<cpan>, a command-line interface to the CPAN, using
the C<CPANPLUS> module as a back-end. It can be used interactively or
imperatively.

=item L<cpan2dist>

F<cpan2dist> is a tool to create distributions (or packages) from CPAN
modules, then suitable for your package manager of choice. Support for
specific formats are available from CPAN as C<CPANPLUS::Dist::*> modules.

=item L<instmodsh>

A little interface to ExtUtils::Installed to examine installed modules,
validate your packlists and even create a tarball from an installed module.

=back

=head1 SEE ALSO

L<perldoc|perldoc>, L<pod2man|pod2man>, L<perlpod>,
L<pod2html|pod2html>, L<pod2usage|pod2usage>, L<podselect|podselect>,
L<podchecker|podchecker>, L<splain|splain>, L<perldiag>,
C<roffitall|roffitall>, L<a2p|a2p>, L<s2p|s2p>, L<find2perl|find2perl>,
L<File::Find|File::Find>, L<pl2pm|pl2pm>, L<perlbug|perlbug>,
L<h2ph|h2ph>, L<c2ph|c2ph>, L<h2xs|h2xs>, L<enc2xs>, L<xsubpp>,
L<cpan>, L<cpanp>, L<cpan2dist>, L<instmodsh>, L<piconv>, L<prove>,
L<corelist>, L<ptar>, L<ptardiff>, L<shasum>, L<zipdetails>

=cut

Filemanager

Name Type Size Permission Actions
a2p.pod File 5.96 KB 0644
perl.pod File 15.43 KB 0644
perl5004delta.pod File 54.92 KB 0644
perl5005delta.pod File 33.48 KB 0644
perl5100delta.pod File 53.41 KB 0644
perl5101delta.pod File 42.86 KB 0644
perl5120delta.pod File 87.19 KB 0644
perl5121delta.pod File 9.91 KB 0644
perl5122delta.pod File 9.38 KB 0644
perl5123delta.pod File 4 KB 0644
perl5124delta.pod File 3.59 KB 0644
perl5140delta.pod File 140.94 KB 0644
perl5141delta.pod File 7.78 KB 0644
perl5142delta.pod File 6.73 KB 0644
perl5143delta.pod File 7.58 KB 0644
perl5160delta.pod File 130.52 KB 0644
perl5161delta.pod File 6 KB 0644
perl5162delta.pod File 3.51 KB 0644
perl5163delta.pod File 3.99 KB 0644
perl561delta.pod File 121.79 KB 0644
perl56delta.pod File 104.68 KB 0644
perl581delta.pod File 37.17 KB 0644
perl582delta.pod File 4.37 KB 0644
perl583delta.pod File 6.19 KB 0644
perl584delta.pod File 7.19 KB 0644
perl585delta.pod File 5.75 KB 0644
perl586delta.pod File 4.54 KB 0644
perl587delta.pod File 8.16 KB 0644
perl588delta.pod File 24.68 KB 0644
perl589delta.pod File 52.64 KB 0644
perl58delta.pod File 112.21 KB 0644
perlaix.pod File 18.77 KB 0644
perlamiga.pod File 6.87 KB 0644
perlapi.pod File 315.46 KB 0644
perlapio.pod File 18.88 KB 0644
perlartistic.pod File 6.85 KB 0644
perlbeos.pod File 2.87 KB 0644
perlbook.pod File 7.19 KB 0644
perlboot.pod File 183 B 0644
perlbot.pod File 182 B 0644
perlbs2000.pod File 7.73 KB 0644
perlcall.pod File 54.03 KB 0644
perlce.pod File 8.72 KB 0644
perlcheat.pod File 4.39 KB 0644
perlclib.pod File 7.5 KB 0644
perlcn.pod File 4.82 KB 0644
perlcommunity.pod File 6.29 KB 0644
perlcygwin.pod File 27.17 KB 0644
perldata.pod File 36.33 KB 0644
perldbmfilter.pod File 4.86 KB 0644
perldebguts.pod File 36.79 KB 0644
perldebtut.pod File 20.79 KB 0644
perldebug.pod File 38.15 KB 0644
perldelta.pod File 3.99 KB 0644
perldgux.pod File 2.75 KB 0644
perldiag.pod File 207.82 KB 0644
perldos.pod File 10.28 KB 0644
perldsc.pod File 24.84 KB 0644
perldtrace.pod File 6.21 KB 0644
perlebcdic.pod File 67.61 KB 0644
perlembed.pod File 35.21 KB 0644
perlepoc.pod File 3.57 KB 0644
perlexperiment.pod File 4.84 KB 0644
perlfaq.pod File 22.01 KB 0644
perlfaq1.pod File 13.52 KB 0644
perlfaq2.pod File 9.28 KB 0644
perlfaq3.pod File 37.46 KB 0644
perlfaq4.pod File 87.39 KB 0644
perlfaq5.pod File 54.11 KB 0644
perlfaq6.pod File 38.66 KB 0644
perlfaq7.pod File 36.35 KB 0644
perlfaq8.pod File 48.28 KB 0644
perlfaq9.pod File 14.71 KB 0644
perlfork.pod File 12.78 KB 0644
perlform.pod File 16.29 KB 0644
perlfreebsd.pod File 1.55 KB 0644
perlfunc.pod File 338.43 KB 0644
perlgit.pod File 29.75 KB 0644
perlglossary.pod File 110.66 KB 0644
perlgpl.pod File 13.54 KB 0644
perlguts.pod File 111.66 KB 0644
perlhack.pod File 35.03 KB 0644
perlhacktips.pod File 45.5 KB 0644
perlhacktut.pod File 6.07 KB 0644
perlhaiku.pod File 1.47 KB 0644
perlhist.pod File 43.32 KB 0644
perlhpux.pod File 28.07 KB 0644
perlhurd.pod File 1.94 KB 0644
perlintern.pod File 42.53 KB 0644
perlinterp.pod File 30 KB 0644
perlintro.pod File 22.08 KB 0644
perliol.pod File 33.03 KB 0644
perlipc.pod File 70.17 KB 0644
perlirix.pod File 4.29 KB 0644
perljp.pod File 7.57 KB 0644
perlko.pod File 7.52 KB 0644
perllexwarn.pod File 14.61 KB 0644
perllinux.pod File 1.45 KB 0644
perllocale.pod File 51.43 KB 0644
perllol.pod File 10.93 KB 0644
perlmacos.pod File 1001 B 0644
perlmacosx.pod File 10.4 KB 0644
perlmod.pod File 24.04 KB 0644
perlmodinstall.pod File 12.41 KB 0644
perlmodlib.pod File 78.49 KB 0644
perlmodstyle.pod File 20.76 KB 0644
perlmpeix.pod File 14.24 KB 0644
perlmroapi.pod File 3.13 KB 0644
perlnetware.pod File 6.35 KB 0644
perlnewmod.pod File 10.95 KB 0644
perlnumber.pod File 8.16 KB 0644
perlobj.pod File 33.65 KB 0644
perlootut.pod File 25.6 KB 0644
perlop.pod File 121.73 KB 0644
perlopenbsd.pod File 1.18 KB 0644
perlopentut.pod File 37.53 KB 0644
perlos2.pod File 90.53 KB 0644
perlos390.pod File 15.2 KB 0644
perlos400.pod File 4.51 KB 0644
perlpacktut.pod File 49.83 KB 0644
perlperf.pod File 50.05 KB 0644
perlplan9.pod File 5 KB 0644
perlpod.pod File 21.27 KB 0644
perlpodspec.pod File 66.2 KB 0644
perlpolicy.pod File 19.73 KB 0644
perlport.pod File 82.63 KB 0644
perlpragma.pod File 5.11 KB 0644
perlqnx.pod File 4.14 KB 0644
perlre.pod File 100.76 KB 0644
perlreapi.pod File 25.17 KB 0644
perlrebackslash.pod File 25.64 KB 0644
perlrecharclass.pod File 34.19 KB 0644
perlref.pod File 28.32 KB 0644
perlreftut.pod File 18.23 KB 0644
perlreguts.pod File 36 KB 0644
perlrequick.pod File 17.5 KB 0644
perlreref.pod File 14.19 KB 0644
perlretut.pod File 115.13 KB 0644
perlriscos.pod File 1.49 KB 0644
perlrun.pod File 49.58 KB 0644
perlsec.pod File 22.77 KB 0644
perlsolaris.pod File 28.63 KB 0644
perlsource.pod File 6.19 KB 0644
perlstyle.pod File 8.42 KB 0644
perlsub.pod File 55.15 KB 0644
perlsymbian.pod File 15.44 KB 0644
perlsyn.pod File 41.04 KB 0644
perlthrtut.pod File 45.41 KB 0644
perltie.pod File 37.02 KB 0644
perltoc.pod File 639 KB 0644
perltodo.pod File 362 B 0644
perltooc.pod File 183 B 0644
perltoot.pod File 183 B 0644
perltrap.pod File 40.28 KB 0644
perltru64.pod File 7.55 KB 0644
perltw.pod File 5.15 KB 0644
perlunicode.pod File 70.89 KB 0644
perlunifaq.pod File 13.31 KB 0644
perluniintro.pod File 35.44 KB 0644
perluniprops.pod File 229.74 KB 0644
perlunitut.pod File 7.76 KB 0644
perlutil.pod File 9.68 KB 0644
perluts.pod File 3.11 KB 0644
perlvar.pod File 69.19 KB 0644
perlvmesa.pod File 3.88 KB 0644
perlvms.pod File 51.33 KB 0644
perlvos.pod File 5.82 KB 0644
perlwin32.pod File 34.58 KB 0644
perlxs.pod File 71.66 KB 0644
perlxstut.pod File 48.52 KB 0644
perlxstypemap.pod File 22.97 KB 0644