[Next] [Up] [Previous] [Contents] [Index]
Next: Variablen
Up: Perl
Previous: Ausgabe
Die Dokumentation von PERL wird im sogenannten POD[+]-Format mitgeliefert. Dort findet Ihr eigentlich alles, was
man zu PERL wissen muß, man muß nur wissen wie man an das Wissen herankommt.
Der erste Schritt sollte also ein perldoc perldoc sein. Dort finden wir
dann auch gleich einen wichtige Option -f mit der man nach den
Hilfeseiten für PERL-Funktionen fragen kann:
lackas@antares:/home/lackas/Kurs/Kurs > perldoc -f printf
=item printf FILEHANDLE FORMAT, LIST
=item printf FORMAT, LIST
Equivalent to C<print FILEHANDLE sprintf(FORMAT, LIST)>. The first argument
of the list will be interpreted as the printf format. If C<use locale> is
in effect, the character used for the decimal point in formatted real numbers
is affected by the LC_NUMERIC locale. See L<perllocale>.
Don't fall into the trap of using a printf() when a simple
print() would do. The print() is more efficient, and less
error prone.
Der nächste wichtige Teil von perldoc ist die PERL-FAQ, sie erreicht man mit
perldoc perlfaq, bzw die einzelnden Kapitel mit perldoc
perlfaqX, wobei X die Nummer der FAQ ist:
- perlfaq1
- General Questions About Perl
Very general, high-level information about Perl.
- perlfaq2
- Obtaining and Learning about Perl
Where to find source and documentation to Perl,
support and training, and related matters.
- perlfaq3
- Programming Tools
Programmer tools and programming support.
- perlfaq4
- Data Manipulation
Manipulating numbers, dates, strings, arrays, hashes,
and miscellaneous data issues.
- perlfaq5
- Files and Formats
I/O and the ''f'' issues: filehandles, flushing,
formats and footers.
- perlfaq6
- Regexps
Pattern matching and regular expressions.
- perlfaq7
- General Perl Language Issues
General Perl language issues that don't clearly fit
into any of the other sections.
- perlfaq8
- System Interaction
Interprocess communication (IPC), control over the
user-interface (keyboard, screen and pointing
devices).
- perlfaq9
- Networking
Networking, the Internet, and a few on the web.
Eine weitere Liste von PERL-man-pages findet Ihr unter perldoc perl,
z.B.:
- perldata
- Perl data structures
- perlsyn
- Perl syntax
- perlop
- Perl operators and precedence
- perlre
- Perl regular expressions
- perlfunc
- Perl builtin functions
- perltoot
- Perl OO tutorial
Besonder wichtig ist hier perlfunc da sich dort eine Liste mit allen
PERL-Funktionen findet, und das sowohl in alphabetischer Reihenfolge als auch in
Kategorien sortiert.
Erzählt mir also nicht, daß Ihr zu irgendeiner Frage nicht gefunden hättet. Es
steht inzwischen wirklich (fast) alles in irgendeiner
PERL-man-page[+].
[Next] [Up] [Previous] [Contents] [Index]
Next: Variablen
Up: Perl
Previous: Ausgabe
Tue Dec 7 13:01:45 MET 1999