Changes

Jump to navigation Jump to search
468 bytes added ,  01:34, 30 December 2013
Line 1: Line 1:  
== NAME ==
 
== NAME ==
   −
perlintro -- a brief introduction and overview of Perl
+
perlintro -- a brief introduction and overview of Perl,if you are looking to found the complete edition of perl documentation, see http://perldoc.perl.org/index.html
    
you can find the source of this Tutorial http://perldoc.perl.org/perlintro.html
 
you can find the source of this Tutorial http://perldoc.perl.org/perlintro.html
 +
 
== DESCRIPTION ==
 
== DESCRIPTION ==
   Line 288: Line 289:  
         }
 
         }
   −
    The C style for loop is rarely needed in Perl since Perl provides the more friendly list scanning '''foreach''' loop.
+
The C style for loop is rarely needed in Perl since Perl provides the more friendly list scanning '''foreach''' loop.
    
==== foreach ====
 
==== foreach ====
Line 301: Line 302:  
         }
 
         }
   −
    The '''foreach''' keyword is actually a synonym for the for keyword. See [http://perldoc.perl.org/perlsyn.html#Foreach-Loops Foreach Loops in perlsyn].
+
The '''foreach''' keyword is actually a synonym for the for keyword. See [http://perldoc.perl.org/perlsyn.html#Foreach-Loops Foreach Loops in perlsyn].
    
For more detail on looping constructs (and some that weren't mentioned in this overview) see [http://perldoc.perl.org/perlsyn.html perlsyn].
 
For more detail on looping constructs (and some that weren't mentioned in this overview) see [http://perldoc.perl.org/perlsyn.html perlsyn].
Line 307: Line 308:  
=== Builtin operators and functions ===
 
=== Builtin operators and functions ===
   −
Perl comes with a wide selection of builtin functions. Some of the ones we've already seen include '''print''', '''sort''' and '''reverse'''. A list of them is given at the start of perlfunc and you can easily read about any given function by using '''perldoc -f functionname'''.
+
Perl comes with a wide selection of builtin functions. Some of the ones we've already seen include '''[http://perldoc.perl.org/functions/print.html print]''', '''[http://perldoc.perl.org/functions/sort.html sort]''' and '''[http://perldoc.perl.org/functions/reverse.html reverse]'''. A list of them is given at the start of [http://perldoc.perl.org/perlfunc.html perlfunc] and you can easily read about any given function by using '''perldoc -f functionname'''.
   −
Perl operators are documented in full in perlop, but here are a few of the most common ones:
+
Perl operators are documented in full in [http://perldoc.perl.org/perlop.html perlop], but here are a few of the most common ones:
    
==== Arithmetic ====
 
==== Arithmetic ====
Line 405: Line 406:  
         # in $a
 
         # in $a
   −
The '''s///''' substitution operator is documented in [http://perldoc.perl.org/perlop.html perlop].
+
The '''[http://perldoc.perl.org/functions/s.html s///]''' substitution operator is documented in [http://perldoc.perl.org/perlop.html perlop].
 +
 
 
==== More complex regular expressions ====
 
==== More complex regular expressions ====
   Line 522: Line 524:     
Kirrily "Skud" Robert <skud@cpan.org>
 
Kirrily "Skud" Robert <skud@cpan.org>
 +
[[Category:Developer]]
 +
[[Category:SME Server Development Framework]]
 +
[[Category:Development Tools]]

Navigation menu