Perl Programming Page 4 - Introduction to mod_perl (part 5): More Perl Basics |
It's a known fact, that one cannot become a Perl hacker and especiallymod_perl hacker without knowing how to read Perl documentation andsearch through it. Books are good, but an easily accessible andsearchable Perl reference at your fingertips is a great time saver. Italways has the up-to-date information for the version of perl you'reusing. Of course you can use online Perl documentation at the Web. I preferhttp://theoryx5.uwinnipeg.ca/CPAN/perl/ to the official URL:http://www.perl.com/pub/v/documentation is very slow :( . The % perldoc perl To find what functions perl has, execute: % perldoc perlfunc To learn the syntax and to find examples of a specific function, youwould execute (e.g. for % perldoc -f open Note: In perl5.005_03 and earlier, there is a bug in this and the The Perl FAQ (perlfaq manpage) is in several sections. To searchthrough the sections for % perldoc -q open This will show you all the matching Question and Answer sections,still in POD format. To read the perldoc manpage you would execute: % perldoc perldoc
blog comments powered by Disqus |