diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-04-24 19:01:24 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-04-24 19:01:24 +0000 |
commit | a2293a43268c593a8a95d38299057a646f0fb089 (patch) | |
tree | 515232728afb60307b625135e36ae5a964b30148 /pod | |
parent | 6f611a1a07288b915db6721d056da56a6d688631 (diff) | |
download | perl-a2293a43268c593a8a95d38299057a646f0fb089.tar.gz |
more pod nits (from Larry Virden)
p4raw-id: //depot/perl@5939
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlsub.pod | 4 | ||||
-rw-r--r-- | pod/perlsyn.pod | 4 | ||||
-rw-r--r-- | pod/perlthrtut.pod | 4 | ||||
-rw-r--r-- | pod/perltoc.pod | 4 | ||||
-rw-r--r-- | pod/perltodo.pod | 4 | ||||
-rw-r--r-- | pod/perlxs.pod | 2 | ||||
-rw-r--r-- | pod/perlxstut.pod | 2 |
7 files changed, 12 insertions, 12 deletions
diff --git a/pod/perlsub.pod b/pod/perlsub.pod index 46d1a2a2b0..f1b87923ef 100644 --- a/pod/perlsub.pod +++ b/pod/perlsub.pod @@ -154,7 +154,7 @@ of changing them in place: } Notice how this (unprototyped) function doesn't care whether it was -passed real scalars or arrays. Perl sees all arugments as one big, +passed real scalars or arrays. Perl sees all arguments as one big, long, flat parameter list in C<@_>. This is one area where Perl's simple argument-passing style shines. The C<upcase()> function would work perfectly well without changing the C<upcase()> @@ -1270,7 +1270,7 @@ see L<attributes>. See L<perlref/"Function Templates"> for more about references and closures. See L<perlxs> if you'd like to learn about calling C subroutines from Perl. -See L<perlembed> if you'd like to learn about calling PErl subroutines from C. +See L<perlembed> if you'd like to learn about calling Perl subroutines from C. See L<perlmod> to learn about bundling up your functions in separate files. See L<perlmodlib> to learn what library modules come standard on your system. See L<perltoot> to learn how to make object method calls. diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod index 724ba12ac0..dfded2ecde 100644 --- a/pod/perlsyn.pod +++ b/pod/perlsyn.pod @@ -172,7 +172,7 @@ If the LABEL is omitted, the loop control statement refers to the innermost enclosing loop. This may include dynamically looking back your call-stack at run time to find the LABEL. Such desperate behavior triggers a warning if you use the C<use warnings> -praga or the B<-w> flag. +pragma or the B<-w> flag. Unlike a C<foreach> statement, a C<while> statement never implicitly localises any variables. @@ -483,7 +483,7 @@ Or Or if you are certainly that all the C<&&> clauses are true, you can use something like this, which "switches" on the value of the -C<HTTP_USER_AGENT> envariable. +C<HTTP_USER_AGENT> environment variable. #!/usr/bin/perl # pick out jargon file page based on browser diff --git a/pod/perlthrtut.pod b/pod/perlthrtut.pod index 0f15d57de7..3a1cf866e2 100644 --- a/pod/perlthrtut.pod +++ b/pod/perlthrtut.pod @@ -718,7 +718,7 @@ In addition to synchronizing access to data or resources, you might find it useful to synchronize access to subroutines. You may be accessing a singular machine resource (perhaps a vector processor), or find it easier to serialize calls to a particular subroutine than to -have a set of locks and sempahores. +have a set of locks and semaphores. One of the additions to Perl 5.005 is subroutine attributes. The Thread package uses these to provide several flavors of @@ -1029,7 +1029,7 @@ LoVerso. Programming under Mach. Addison-Wesley, 1994, ISBN 0-201-52739-1. Tanenbaum, Andrew S. Distributed Operating Systems. Prentice Hall, -1995, ISBN 0-13-143934-0 (great textbook). +1995, ISBN 0-13-219908-4 (great textbook). Silberschatz, Abraham, and Peter B. Galvin. Operating System Concepts, 4th ed. Addison-Wesley, 1995, ISBN 0-201-59292-4 diff --git a/pod/perltoc.pod b/pod/perltoc.pod index 798a24d193..6397388e5d 100644 --- a/pod/perltoc.pod +++ b/pod/perltoc.pod @@ -95,8 +95,8 @@ line?, Why don't perl one-liners work on my DOS/Mac/VMS system?, Where can I learn about CGI or Web programming in Perl?, Where can I learn about object-oriented Perl programming?, Where can I learn about linking C with Perl? [h2xs, xsubpp], I've read perlembed, perlguts, etc., but I can't -embed perl inmy C program, what am I doing wrong?, When I tried to run my -script, I got this message. What does itmean?, What's MakeMaker?, +embed perl in my C program, what am I doing wrong?, When I tried to run my +script, I got this message. What does it mean?, What's MakeMaker?, L<perlfaq4>: Data Manipulation, Why am I getting long decimals (eg, 19.9499999999999) instead of the numbers I should be getting (eg, 19.95)?, Why isn't my octal data interpreted correctly?, Does Perl have a round() diff --git a/pod/perltodo.pod b/pod/perltodo.pod index f22d4737f8..47febc80c2 100644 --- a/pod/perltodo.pod +++ b/pod/perltodo.pod @@ -85,7 +85,7 @@ We need regression/sanity tests for suidperl This value may or may not be accurate, but it certainly is eye-catching. For some things perl5 is faster than perl4, but often -the reliability and extensability have come at a cost of speed. The +the reliability and extensibility have come at a cost of speed. The benchmark suite that Gisle released earlier has been hailed as both a fantastic solution and as a source of entirely meaningless figures. Do we need to test "real applications"? Can you do so? Anyone have @@ -161,7 +161,7 @@ Sarathy, I believe, did the work. Here's what he has to say: Yeah, I hope to implement it someday too. The points that were raised in TPC2 were all to do with calling DESTROY() methods, but -I think we can accomodate that by extending bless() to stash +I think we can accommodate that by extending bless() to stash extra information for objects so we track their lifetime accurately for those that want their DESTROY() to be predictable (this will be a speed hit, naturally, and will therefore be optional, naturally. :) diff --git a/pod/perlxs.pod b/pod/perlxs.pod index 3c0927e28d..c696e19d16 100644 --- a/pod/perlxs.pod +++ b/pod/perlxs.pod @@ -534,7 +534,7 @@ the parameters in the correct order for that function. =head2 The PREINIT: Keyword The PREINIT: keyword allows extra variables to be declared immediately -before or after the declartions of the parameters from the INPUT: section +before or after the declarations of the parameters from the INPUT: section are emitted. If a variable is declared inside a CODE: section it will follow any typemap diff --git a/pod/perlxstut.pod b/pod/perlxstut.pod index d79f4b989a..4756a9edbb 100644 --- a/pod/perlxstut.pod +++ b/pod/perlxstut.pod @@ -476,7 +476,7 @@ section on the argument stack. In general, it's not a good idea to write extensions that modify their input parameters, as in Example 3. Instead, you should probably return multiple values in an array and let the caller handle them (we'll do this in a later -example). However, in order to better accomodate calling pre-existing C +example). However, in order to better accommodate calling pre-existing C routines, which often do modify their input parameters, this behavior is tolerated. |