X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlintro.pod;h=7429dfb233e61c6e1d0d99b6d5b1c6d4cdd71c1c;hb=363c40c40eaf5d0cfd92f460a3f838c41f9756ad;hp=0d96c97dccbe100b829423b5f7703f37812b303b;hpb=2cd1776c1779fda5b6df8baba77742b2f09eb9e2;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlintro.pod b/pod/perlintro.pod index 0d96c97..7429dfb 100644 --- a/pod/perlintro.pod +++ b/pod/perlintro.pod @@ -55,7 +55,7 @@ Alternatively, put this as the first line of your script: to be executable first, so C (under Unix). For more information, including instructions for other platforms such as -Windows and MacOS, read L. +Windows and Mac OS, read L. =head2 Basic syntax overview @@ -169,7 +169,7 @@ The elements we're getting from the array start with a C<$> because we're getting just a single value out of the array -- you ask for a scalar, you get a scalar. -To get multiple values from a array: +To get multiple values from an array: @animals[0,1]; # gives ("camel", "llama"); @animals[0..2]; # gives ("camel", "llama", "owl"); @@ -351,7 +351,7 @@ Exactly like C: } The C style for loop is rarely needed in Perl since Perl provides -the the more friendly list scanning C loop. +the more friendly list scanning C loop. =item foreach @@ -616,7 +616,7 @@ in using third-party modules, which are documented below. =head2 Using Perl modules Perl modules provide a range of features to help you avoid reinventing -the wheel, and can be downloaded from CPAN (http://www.cpan.org). A +the wheel, and can be downloaded from CPAN ( http://www.cpan.org/ ). A number of popular modules are included with the Perl distribution itself.