Perl
  Home arrow Perl arrow Page 4 - Introduction to mod_perl (part 5): Mor...
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
PERL

Introduction to mod_perl (part 5): More Perl Basics
By: Stas Bekman
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 5
    2003-03-12

    Table of Contents:
  • Introduction to mod_perl (part 5): More Perl Basics
  • my() Scoped Variable in Nested Subroutines
  • When You Cannot Get Rid of The Inner Subroutine
  • perldoc's Rarely Known But Very Useful Options
  • References

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    Dell PowerEdge Servers

    Introduction to mod_perl (part 5): More Perl Basics - perldoc's Rarely Known But Very Useful Options
    (Page 4 of 5 )

    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 :( . Theperldoc utility provides you with access to the documentationinstalled on your system. To find out what Perl manpages areavailable execute:

    % 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 open()):

    % perldoc -f open

    Note: In perl5.005_03 and earlier, there is a bug in this and the-q options of perldoc. It won't call pod2man, but willdisplay the section in POD format instead. Despite this bug it'sstill readable and very useful.

    The Perl FAQ (perlfaq manpage) is in several sections. To searchthrough the sections for open you would execute:

    % 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

    More Perl Articles
    More By Stas Bekman


     

       

    PERL ARTICLES

    - Perl: A Continuing Look at Hashes and Multid...
    - Perl: Another Round with Hashes
    - Perl Hashes
    - Perl Lists: A Final Look at List::Util
    - Perl Lists: Utilizing List::Util
    - Perl Lists: The Split() Function
    - SQL and CGI with Perl and DBI
    - Perl Lists: More Functions and Operators
    - SELECT Queries and Perl
    - Perl Lists: More on Manipulation
    - Creating a Database with Perl and DBI
    - Perl: Sailing the List(less) Seas
    - Perl and DBI
    - Perl: Concatenating Text and More
    - Perl Text: Quoting Without Quote Marks




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway