29
Jul

Use perldoc to View Perl Manual/Documentation

Simply put, perldoc is the man page of perl applications. Use it and use it often when dealing with perl utilities. For example:

perldoc open

Reveals…

System::Library::Perl:User.Contributed PeSystem::Library::Perl::5.8.8::open(3)

NAME
       open − perl pragma to set default PerlIO layers for input and output

SYNOPSIS
           use open IN  => ":crlf", OUT => ":bytes";
           use open OUT => ’:utf8’;
           use open IO  => ":encoding(iso−8859−7)";

           use open IO  => ’:locale’;

           use open ’:utf8’;
           use open ’:locale’;
           use open ’:encoding(iso−8859−7)’;

           use open ’:std’;

DESCRIPTION
       Full‐fledged support for I/O layers is now implemented provided Perl is
       configured to use PerlIO as its IO system (which is now the default).
       ...
       ...

Feel free to donate if this post prevented any headaches! Another way to show your appreciation is to take a gander at these relative ads that you may be interested in:


There's 0 Comment So Far

Share your thoughts, leave a comment!