From: Gurusamy Sarathy Date: Mon, 24 Apr 2000 19:01:24 +0000 (+0000) Subject: more pod nits (from Larry Virden) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a2293a43268c593a8a95d38299057a646f0fb089;p=p5sagit%2Fp5-mst-13.2.git more pod nits (from Larry Virden) p4raw-id: //depot/perl@5939 --- diff --git a/README.win32 b/README.win32 index 66482b9..e71b6f4 100644 --- a/README.win32 +++ b/README.win32 @@ -85,7 +85,7 @@ popular 4DOS/NT shell have incompatibilities that may cause you trouble. If the build fails under that shell, try building again with the cmd shell. -The nmake Makefile also has known incompatibilites with the +The nmake Makefile also has known incompatibilities with the "command.com" shell that comes with Windows 9x. You will need to use dmake and makefile.mk to build under Windows 9x. diff --git a/pod/perlsub.pod b/pod/perlsub.pod index 46d1a2a..f1b8792 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 function would work perfectly well without changing the C @@ -1270,7 +1270,7 @@ see L. See L for more about references and closures. See L if you'd like to learn about calling C subroutines from Perl. -See L if you'd like to learn about calling PErl subroutines from C. +See L if you'd like to learn about calling Perl subroutines from C. See L to learn about bundling up your functions in separate files. See L to learn what library modules come standard on your system. See L to learn how to make object method calls. diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod index 724ba12..dfded2e 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 -praga or the B<-w> flag. +pragma or the B<-w> flag. Unlike a C statement, a C 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 envariable. +C environment variable. #!/usr/bin/perl # pick out jargon file page based on browser diff --git a/pod/perlthrtut.pod b/pod/perlthrtut.pod index 0f15d57..3a1cf86 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 798a24d..6397388 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: 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 f22d473..47febc8 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 3c0927e..c696e19 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 d79f4b9..4756a9e 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. diff --git a/vms/perlvms.pod b/vms/perlvms.pod index 0bef835..e6d13f3 100644 --- a/vms/perlvms.pod +++ b/vms/perlvms.pod @@ -569,7 +569,7 @@ invoked using C or a text file which should be passed to DCL as a command procedure. If LIST consists of the empty string, C spawns an -interactive DCL subprocess, in the same fashion as typiing +interactive DCL subprocess, in the same fashion as typing B at the DCL prompt. Perl waits for the subprocess to complete before continuing @@ -597,7 +597,7 @@ not appear separately in the "child time" field, depending on whether L keeps track of subprocesses separately. Note especially that the VAXCRTL (at least) keeps track only of subprocesses spawned using L and L; it will not -accumulate the times of suprocesses spawned via pipes, L, +accumulate the times of subprocesses spawned via pipes, L, or backticks. =item unlink LIST @@ -661,7 +661,7 @@ The FLAGS argument is ignored in all cases. The following VMS-specific information applies to the indicated "special" Perl variables, in addition to the general information -in L. Where there is a conflict, this infrmation +in L. Where there is a conflict, this information takes precedence. =over 4