Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.85k stars 527 forks source link

Large batch of typo fixes #12980

Closed p5pRT closed 10 years ago

p5pRT commented 10 years ago

Migrated from rt.perl.org#118085 (status was 'resolved')

Searchable as RT118085$

p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

See the following thread for more info​: http​://www.nntp.perl.org/group/perl.perl5.porters/2013/05/msg201811.html

Jim Keenan has shown interest in taking things from here.

-- David Steinbrunner

p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0001-typo-fixes-for-root-level-scripts.patch ```diff From 06eefe84848a47d9295b6c0c8aa77de856391762 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 06:46:18 -0400 Subject: [PATCH 01/58] typo fixes for root level scripts --- autodoc.pl | 2 +- configpm | 2 +- install_lib.pl | 2 +- installperl | 2 +- make_ext.pl | 2 +- make_patchnum.pl | 2 +- makedef.pl | 2 +- regen.pl | 2 +- write_buildcustomize.pl | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/autodoc.pl b/autodoc.pl index 925f2f5..ae16889 100644 --- a/autodoc.pl +++ b/autodoc.pl @@ -14,7 +14,7 @@ # MANIFEST and *.[ch]. # # This script is normally invoked as part of 'make all', but is also -# called from from regen.pl. +# called from regen.pl. # # '=head1' are the only headings looked for. If the next line after the # heading begins with a word character, it is considered to be the first line diff --git a/configpm b/configpm index 0be40f9..3848461 100755 --- a/configpm +++ b/configpm @@ -385,7 +385,7 @@ $fetch_string .= <<'EOT'; EOT } else { - # We only have ' delimted. + # We only have ' delimited. $fetch_string .= <<'EOT'; return undef unless $Config_SH_expanded =~ /\n$key=\'(.*?)\'\n/s; diff --git a/install_lib.pl b/install_lib.pl index ae8ba0a..308af70 100644 --- a/install_lib.pl +++ b/install_lib.pl @@ -16,7 +16,7 @@ BEGIN { # prefixes. # # So we set $^X to pretend that we're the already installed perl, so - # Config.pm doesits ... expansion off that location. + # Config.pm does its ... expansion off that location. my $location = $Config{initialinstalllocation}; die <<'OS' unless defined $location; diff --git a/installperl b/installperl index 0e590e1..ac1c770 100755 --- a/installperl +++ b/installperl @@ -671,7 +671,7 @@ sub installlib { # this, as $_ becomes a pathname, and so still works. However, it's not # obvious that $_ is needed later, and hence $_ must not be modified. - # Also, many of the regex exlusion tests below are now superfluous, as the + # Also, many of the regex exclusion tests below are now superfluous, as the # files in question are either no longer in blead, or now in ext/, dist/ or # cpan/ and not copied into lib/ diff --git a/make_ext.pl b/make_ext.pl index 3254628..799ab8b 100644 --- a/make_ext.pl +++ b/make_ext.pl @@ -43,7 +43,7 @@ my $ext_dirs_re = '(?:' . join('|', @ext_dirs) . ')'; # Mostly because they still not ported to specified platform. # # If any extensions are listed with a '+' char then only those -# extensions will be built, but only if they arent countermanded +# extensions will be built, but only if they aren't countermanded # by an '!ext' and are appropriate to the type of building being done. # It may be deleted in a later release of perl so try to diff --git a/make_patchnum.pl b/make_patchnum.pl index 77d4a4e..3f857b5 100644 --- a/make_patchnum.pl +++ b/make_patchnum.pl @@ -178,7 +178,7 @@ git_unpushed='$unpushed_commit_list'"; $commit_title ||= "Commit id:"; } -# we extract the filename out of the warning header, so dont mess with that +# we extract the filename out of the warning header, so don't mess with that write_files(<<"EOF_HEADER", <<"EOF_CONFIG"); /************************************************************************** * WARNING: 'git_version.h' is automatically generated by make_patchnum.pl diff --git a/makedef.pl b/makedef.pl index d2c5f5e..ae3b510 100644 --- a/makedef.pl +++ b/makedef.pl @@ -627,7 +627,7 @@ if ($ARGS{PLATFORM} eq 'netware') { } if ($define{'USE_PERLIO'}) { - # Export the symols that make up the PerlIO abstraction, regardless + # Export the symbols that make up the PerlIO abstraction, regardless # of its implementation - read from a file push @syms, 'perlio.sym'; diff --git a/regen.pl b/regen.pl index 62dc820..1b3ae5e 100644 --- a/regen.pl +++ b/regen.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl -w # -# regen.pl - a wrapper that runs all *.pl scripts to to autogenerate files +# regen.pl - a wrapper that runs all *.pl scripts to autogenerate files require 5.004; # keep this compatible, an old perl is all we may have before # we build the new one diff --git a/write_buildcustomize.pl b/write_buildcustomize.pl index 3d773a5..018e60e 100644 --- a/write_buildcustomize.pl +++ b/write_buildcustomize.pl @@ -34,7 +34,7 @@ my @toolchain = qw(cpan/AutoLoader/lib # Used only in ExtUtils::Liblist::Kid::_win32_ext() push @toolchain, 'cpan/Text-ParseWords/lib' if $^O eq 'MSWin32'; -# lib must be last, as the the toolchain modules write themselves into it +# lib must be last, as the toolchain modules write themselves into it # as they build, and it's important that @INC order ensures that the partially # written files are always masked by the complete versions. -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0002-typo-fixes-for-regen-scripts.patch ```diff From 61f48b30757850d635f35b3132319ec8f8e568ae Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 06:47:05 -0400 Subject: [PATCH 02/58] typo fixes for regen scripts --- regen/mk_invlists.pl | 4 ++-- regen/reentr.pl | 4 ++-- regen/regcharclass.pl | 12 ++++++------ regen/regen_lib.pl | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/regen/mk_invlists.pl b/regen/mk_invlists.pl index 843d6e7..67b6e41 100644 --- a/regen/mk_invlists.pl +++ b/regen/mk_invlists.pl @@ -118,7 +118,7 @@ for my $i (0 .. @$folds_ref - 1) { next unless ref $folds_ref->[$i]; # Skip single-char folds push @has_multi_char_fold, $cp_ref->[$i]; - # Add to the the non-finals list each code point that is in a non-final + # Add to the non-finals list each code point that is in a non-final # position for my $j (0 .. @{$folds_ref->[$i]} - 2) { push @is_non_final_fold, $folds_ref->[$i][$j] @@ -204,7 +204,7 @@ for my $prop (qw( # that crosses the 255/256 boundary if it is one that matches the # property. For example, in the Word property, there is a range of code # points that start at U+00F8 and goes through U+02C1. Instead of - # artifically cutting that off at 256 because 256 is the first code point + # artificially cutting that off at 256 because 256 is the first code point # above Latin1, we let the range go to its natural ending. That gives us # extra information with no added space taken. But if the range that # crosses the boundary is one that doesn't match the property, we don't diff --git a/regen/reentr.pl b/regen/reentr.pl index 899e83b..c5e7129 100644 --- a/regen/reentr.pl +++ b/regen/reentr.pl @@ -177,7 +177,7 @@ my %seend; # the type of this function's "D" my %seenm; # all the types my %seenu; # the length of the argument list of this function -while () { # Read in the protypes. +while () { # Read in the protoypes. next if /^\s+$/; chomp; my ($func, $hdr, $type, @p) = split(/\s*\|\s*/, $_, -1); @@ -587,7 +587,7 @@ EOF my $GENFUNC = uc $genfunc; my $D = ifprotomatch($FUNC, grep {/D/} @p); my $d = $seend{$func}; - $d =~ s/\*$//; # snip: we need need the base type. + $d =~ s/\*$//; # snip: we need the base type. push @struct, < contains at least one character. =item C Check to see if the string matches a given codepoint (hypothetically a -U32). The condition is constructed as as to "break out" as early as +U32). The condition is constructed as to "break out" as early as possible if the codepoint is out of range of the condition. IOW: @@ -307,7 +307,7 @@ sub __cond_join { # Each string is then stored in the 'strs' subhash as a hash record # made up of the results of __uni_latin1, using the keynames # 'low','latin1','utf8', as well as the synthesized 'LATIN1', 'high', and -# 'UTF8' which hold a merge of 'low' and their lowercase equivelents. +# 'UTF8' which hold a merge of 'low' and their lowercase equivalents. # # Size data is tracked per type in the 'size' subhash. # @@ -470,7 +470,7 @@ sub _optree { $else= 0 unless defined $else; $depth= 0 unless defined $depth; - # if we have an emptry string as a key it means we are in an + # if we have an empty string as a key it means we are in an # accepting state and unless we can match further on should # return the value of the '' key. if (exists $trie->{''} ) { @@ -491,7 +491,7 @@ sub _optree { # it means we are an accepting state (end of sequence). my @conds= sort { $a <=> $b } grep { length $_ } keys %$trie; - # if we havent any keys there is no further we can match and we + # if we haven't any keys there is no further we can match and we # can return the "else" value. return $else if !@conds; @@ -935,7 +935,7 @@ sub _cond_as_str { my @masks; if (@ranges > 1) { - # See if the entire set shares optimizable characterstics, and if so, + # See if the entire set shares optimizable characteristics, and if so, # return the optimization. We delay checking for this on sets with # just a single range, as there may be better optimizations available # in that case. @@ -1198,7 +1198,7 @@ sub make_macro { return $self->render( $optree, ($type =~ /^cp/) ? 1 : 0, \%opts, $def_fmt ); } -# if we arent being used as a module (highly likely) then process +# if we aren't being used as a module (highly likely) then process # the __DATA__ below and produce macros in regcharclass.h # if an argument is provided to the script then it is assumed to # be the path of the file to output to, if the arg is '-' outputs diff --git a/regen/regen_lib.pl b/regen/regen_lib.pl index a575c97..3abec2f 100644 --- a/regen/regen_lib.pl +++ b/regen/regen_lib.pl @@ -76,7 +76,7 @@ sub close_and_rename { warn "changed '$name' to '$final_name'\n" if $Verbose > 0; push @Changed, $final_name unless $Verbose < 0; - # Some dosish systems can't rename over an existing file: + # Some DOSish systems can't rename over an existing file: safer_unlink $final_name; chmod 0600, $name if $Needs_Write; rename $name, $final_name or die "renaming $name to $final_name: $!"; -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0003-typo-fix-for-vms-script.patch ```diff From b6511438a4b7df51608d32747fea2f6c3a157c14 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 06:47:33 -0400 Subject: [PATCH 03/58] typo fix for vms script --- vms/mms2make.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vms/mms2make.pl b/vms/mms2make.pl index 7795e4a..1706c51 100644 --- a/vms/mms2make.pl +++ b/vms/mms2make.pl @@ -14,7 +14,7 @@ # we invert top of stack at a .else # we pop at a .endif # we deselect any other line if $conditions[0] is 0 -# I'm being very lazy - push a 1 at start, then dont need to check for +# I'm being very lazy - push a 1 at start, then don't need to check for # an empty @conditions [assume nesting in descrip.mms is correct] # 2.1 26-Feb-1995 Charles Bailey bailey@newman.upenn.edu # - handle MMS macros generated by MakeMaker -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0004-typo-fixes-for-win32-scripts.patch ```diff From 3b9d9f9a3317ccbc8a2c1c6d23ef9f8f7ab3b04c Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 06:48:17 -0400 Subject: [PATCH 04/58] typo fixes for win32 scripts --- win32/bin/pl2bat.pl | 2 +- win32/bin/search.pl | 2 +- win32/ce-helpers/makedist.pl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/win32/bin/pl2bat.pl b/win32/bin/pl2bat.pl index f78be1f..b30b16b 100644 --- a/win32/bin/pl2bat.pl +++ b/win32/bin/pl2bat.pl @@ -33,7 +33,7 @@ EOT my %OPT = (); warn($usage), exit(0) if !getopts('whun:o:a:s:',\%OPT) or $OPT{'h'}; -# NOTE: %0 is already enclosed in doublequotes by cmd.exe, as appropriate +# NOTE: %0 is already enclosed in double quotes by cmd.exe, as appropriate $OPT{'n'} = '-x -S %0 %*' unless exists $OPT{'n'}; $OPT{'o'} = '-x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9' unless exists $OPT{'o'}; $OPT{'s'} = '/\\.plx?/' unless exists $OPT{'s'}; diff --git a/win32/bin/search.pl b/win32/bin/search.pl index 98a320c..8f4d739 100644 --- a/win32/bin/search.pl +++ b/win32/bin/search.pl @@ -196,7 +196,7 @@ INLINE_LITERAL_TEXT $iflag='i', next if $arg eq '-i'; ## ignore case $norc=1, next if $arg eq '-norc'; ## don't load rc file $showrc=1, next if $arg eq '-showrc'; ## show rc file - $underlineOK=1, next if $arg eq '-u'; ## look throuh underln. + $underlineOK=1, next if $arg eq '-u'; ## look through underln. $words=1, next if $arg eq '-w'; ## match "words" only &strip if $arg eq '-strip'; ## dump this program last if $arg eq '-e'; diff --git a/win32/ce-helpers/makedist.pl b/win32/ce-helpers/makedist.pl index 8581267..4d1f576 100644 --- a/win32/ce-helpers/makedist.pl +++ b/win32/ce-helpers/makedist.pl @@ -15,7 +15,7 @@ my %opts = ( 'cross-name' => 'wince', 'strip-pod' => 0, # strip POD from perl modules 'adaptation' => 1, # do some adaptation, such as stripping such - # occurences as "if ($^O eq 'VMS'){...}" for Dynaloader.pm + # occurrences as "if ($^O eq 'VMS'){...}" for Dynaloader.pm 'zip' => 0, # perform zip 'clean-exts' => 0, #options itself -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0005-typo-fix-for-util-script.patch ```diff From bed30fc227db512b24a410104e4eb6b1b094da67 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 06:48:37 -0400 Subject: [PATCH 05/58] typo fix for util script --- utils/perlbug.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/perlbug.PL b/utils/perlbug.PL index bf86670..225d3f5 100644 --- a/utils/perlbug.PL +++ b/utils/perlbug.PL @@ -54,7 +54,7 @@ my $patch_tags = join "", map /(\S+)/ ? "+$1 " : (), @patches; close(PATCH_LEVEL) or die "Error closing patchlevel.h: $!"; -# TO DO (prehaps): store/embed $Config::config_sh into perlbug. When perlbug is +# TO DO (perhaps): store/embed $Config::config_sh into perlbug. When perlbug is # used, compare $Config::config_sh with the stored version. If they differ then # append a list of individual differences to the bug report. -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0006-typo-fix-for-os2-module.patch ```diff From bf4444ec4cf1e6e6d5648d5ca1d4e32e5486320d Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 06:49:13 -0400 Subject: [PATCH 06/58] typo fix for os2 module --- os2/OS2/OS2-Process/Process.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os2/OS2/OS2-Process/Process.pm b/os2/OS2/OS2-Process/Process.pm index baee0e6..cbef57c 100644 --- a/os2/OS2/OS2-Process/Process.pm +++ b/os2/OS2/OS2-Process/Process.pm @@ -2006,7 +2006,7 @@ will show the 22nd system icon as the dialog icon (small folder icon). =item _MessageBox2($text, $buttons_Icon_struct, [$title, ...]) -low-level workhorse to implement MessageBox2(). Differs by the dafault +low-level workhorse to implement MessageBox2(). Differs by the default $title, and that $buttons_Icon_struct is required, and is a string with low-level C struct. -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0007-making-DOS-stand-out-in-dosify.patch ```diff From b1876812c40cde4e3eae3feb4f68c16767b2acb7 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 06:50:14 -0400 Subject: [PATCH 07/58] making DOS stand out in dosify --- djgpp/fixpmain | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/djgpp/fixpmain b/djgpp/fixpmain index 3f965f1..8ebbf78 100644 --- a/djgpp/fixpmain +++ b/djgpp/fixpmain @@ -12,7 +12,7 @@ $perlmain=; $makefile=; ($_) = $makefile =~ /\bNAME\b.*=>\W*([\w\:]+)/; # extract module name -$badname=join ("__",map {lc substr ($_,0,8)} split /:+/); # dosify +$badname=join ("__",map {lc substr ($_,0,8)} split /:+/); # DOSify $perlmain =~ s/^.*boot_$badname.*$//gm if $badname; # delete bad lines @exts=('DynaLoader',split (" ",$Config{known_extensions})); -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0008-typo-fixes-for-porting-pod.patch ```diff From dad024ce9571961e56970bbffe191c18d85968eb Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 06:52:43 -0400 Subject: [PATCH 08/58] typo fixes for porting pod note optimiser change to optimizer to be consistent with other uses of optimizer in todo --- Porting/README.pod | 2 +- Porting/epigraphs.pod | 2 +- Porting/release_managers_guide.pod | 6 +++--- Porting/todo.pod | 10 +++++----- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Porting/README.pod b/Porting/README.pod index a714193..b339e8b 100644 --- a/Porting/README.pod +++ b/Porting/README.pod @@ -288,7 +288,7 @@ L. =head2 F -Release announcment for minor releasements of the 5.17 development series. +Release announcement for minor releasements of the 5.17 development series. =head2 F diff --git a/Porting/epigraphs.pod b/Porting/epigraphs.pod index 9580a97..39589eb 100644 --- a/Porting/epigraphs.pod +++ b/Porting/epigraphs.pod @@ -1874,7 +1874,7 @@ L section, using C. Make any new customizations if necessary. Also, restore any files that are mentioned in C<@IGNORE>, but were checked -in in the repository anyway. +into the repository anyway. =item * @@ -363,7 +363,7 @@ Increase the version number (e.g. from 5.12.0 to 5.12.1). For a release candidate for a stable perl, this should happen a week or two before the first release candidate to allow sufficient time for testing and smoking with the target version built into the perl executable. For -subsequent release candidates and the final release, it it not necessary to +subsequent release candidates and the final release, it is not necessary to bump the version further. There is a tool to semi-automate this process: @@ -776,7 +776,7 @@ Build perl, then make sure it passes its own test suite, and installs: Check that the output of C and C are as expected, especially as regards version numbers, patch and/or RC levels, and @INC -paths. Note that as they have been been built from a git working +paths. Note that as they have been built from a git working directory, they will still identify themselves using git tags and commits. (Note that for an odd-numbered version, perl will install itself as C). C will identify itself as: diff --git a/Porting/todo.pod b/Porting/todo.pod index a08fad9..3be37c7 100644 --- a/Porting/todo.pod +++ b/Porting/todo.pod @@ -358,7 +358,7 @@ are needed to our current source code. Prime example of this is Android. There are several scripts and tools for cross-compiling perl for other platforms. However, these are somewhat inconsistent and scattered across the codebase, none are documented well, none are clearly flexible enough to -be confident that they can support any TARGET/HOST plaform pair other than +be confident that they can support any TARGET/HOST platform pair other than that which they were developed on, and it's not clear how bitrotted they are. For example, C understands C<-Dusecrosscompile> option. This option @@ -370,7 +370,7 @@ ARM Linux targets, relying on hand curated F files, but that code is getting on for 5 years old, and requires insider knowledge of perl's build system to draft a F for a new platform. -Jess Robinson has sumbitted a grant to TPF to work on cleaning this up. +Jess Robinson has submitted a grant to TPF to work on cleaning this up. =head2 Split "linker" from "compiler" @@ -972,9 +972,9 @@ done." ssh and screen do this with named pipes in /tmp. Maybe we can too. The old perltodo notes that lvalue functions don't work for list or hash slices. This would be good to fix. -=head2 regexp optimiser optional +=head2 regexp optimizer optional -The regexp optimiser is not optional. It should configurable to be, to allow +The regexp optimizer is not optional. It should configurable to be, to allow its performance to be measured, and its bugs to be easily demonstrated. =head2 C regex modifier @@ -1118,7 +1118,7 @@ would produce this output What might work is to have an optional line number in memory just before the BASEOP structure, with a flag bit in the op to say whether it's present. Initially during compile every OP would carry its line number. Then add a late -pass to the optimiser (potentially combined with L) which +pass to the optimizer (potentially combined with L) which looks at the two ops on every edge of the graph of the execution path. If the line number changes, flags the destination OP with this information. Once all paths are traced, replace every op with the flag with a -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0009-typo-fixes-for-porting-modules.patch ```diff From 35aceee13c42374969919f1d92f35c1a32d1c3e2 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 06:53:18 -0400 Subject: [PATCH 09/58] typo fixes for porting modules --- Porting/GitUtils.pm | 2 +- Porting/Maintainers.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Porting/GitUtils.pm b/Porting/GitUtils.pm index 9ee6ca5..a07a5a7 100644 --- a/Porting/GitUtils.pm +++ b/Porting/GitUtils.pm @@ -45,7 +45,7 @@ sub gen_dot_patch { last if $branch ne 'undefined'; } for ($branch) { - $_ ||= "error"; # hmm, we didnt get /anything/ from name-rev? + $_ ||= "error"; # hmm, we didn't get /anything/ from name-rev? s!^\Q$reftype\E/!! || # strip off the reftype s!^refs/heads/!! || # possible other places it was found s!^refs/remotes/!! || # ... diff --git a/Porting/Maintainers.pm b/Porting/Maintainers.pm index 896e7c8..992cf56 100644 --- a/Porting/Maintainers.pm +++ b/Porting/Maintainers.pm @@ -64,7 +64,7 @@ sub get_module_pat { split ' ', $Modules{$m}{FILES}; } -# exand dir/ or foo* into a full list of files +# expand dir/ or foo* into a full list of files # sub expand_glob { sort { lc $a cmp lc $b } @@ -236,7 +236,7 @@ sub files_to_modules { if (@ToDo) { # Try prefix matching. - # Need to try longst prefixes first, else lib/CPAN may match + # Need to try longest prefixes first, else lib/CPAN may match # lib/CPANPLUS/... and similar my @OrderedModuleByPat -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0010-typo-fixes-for-porting-scripts.patch ```diff From c47ca557efa712b2718dbdad265504ddd1e73063 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 06:56:08 -0400 Subject: [PATCH 10/58] typo fixes for porting scripts --- Porting/add-package.pl | 8 ++++---- Porting/bisect-runner.pl | 4 ++-- Porting/bump-perl-version | 2 +- Porting/cherrymaint | 2 +- Porting/core-cpan-diff | 2 +- Porting/make_dot_patch.pl | 2 +- Porting/pod_lib.pl | 2 +- Porting/sync-with-cpan | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Porting/add-package.pl b/Porting/add-package.pl index 948f16e..88b96fc 100755 --- a/Porting/add-package.pl +++ b/Porting/add-package.pl @@ -94,7 +94,7 @@ my $ModName; # name of the module my @ModFiles; # the .PMs in this package { print "Creating top level dir..." if $Verbose; - ### make sure we get the shortest file, so we dont accidentally get + ### make sure we get the shortest file, so we don't accidentally get ### a subdir @ModFiles = sort { length($a) <=> length($b) } map { chomp; $_ } @@ -344,7 +344,7 @@ my @ChangedFiles; } ### we need some entries in a vms specific file as well.. - ### except, i dont understand how it works or what it does, and it + ### except, I don't understand how it works or what it does, and it ### looks all a bit odd... so lets just print a warning... ### the entries look something like this: # ./vms/descrip_mms.template:utils4 = [.utils]enc2xs.com @@ -358,8 +358,8 @@ my @ChangedFiles; print $/.$/; print " WARNING! You should add entries like the following\n" . " to $file (Using $TestBin as an example)\n" - . " Unfortunately I dont understand what these entries\n" - . " do, so I wont change them automatically:\n\n"; + . " Unfortunately I don't understand what these entries\n" + . " do, so I won't change them automatically:\n\n"; print `grep -nC1 $TestBin $Repo/$file`; print $/.$/; diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl index ca4c12c..9c6234d 100755 --- a/Porting/bisect-runner.pl +++ b/Porting/bisect-runner.pl @@ -1228,8 +1228,8 @@ EOPATCH my $mips = extract_from_file('Configure', qr!(''\) if (?:\./)?mips; then)!); # This is part of perl-5.001n. It's needed, to add -L/usr/local/lib to - # theld flags if libraries are found there. It shifts the code to set up - # libpth earlier, and then adds the code to add libpth entries to + # the ld flags if libraries are found there. It shifts the code to set + # up libpth earlier, and then adds the code to add libpth entries to # ldflags # mips was changed to ./mips in ecfc54246c2a6f42, perl5.000 patch.0g apply_patch(sprintf <<'EOPATCH', $mips); diff --git a/Porting/bump-perl-version b/Porting/bump-perl-version index 627f907..f2f5bcc 100644 --- a/Porting/bump-perl-version +++ b/Porting/bump-perl-version @@ -43,7 +43,7 @@ # # Note there are various files and directories that it skips; these are # ones that are unlikely to contain anything needing bumping, but which -# will generate lots fo false positives (eg pod/*). These are listed on +# will generate lots of false positives (eg pod/*). These are listed on # STDERR as they are skipped. use strict; diff --git a/Porting/cherrymaint b/Porting/cherrymaint index f4092a9..08e8eb5 100644 --- a/Porting/cherrymaint +++ b/Porting/cherrymaint @@ -95,7 +95,7 @@ either on the command line with --address, or by doing HERE -# Note that you can vote through your browser by pointing it at the the local +# Note that you can vote through your browser by pointing it at the local # end of the tunnel. For example, L if you went with # the suggested default values } diff --git a/Porting/core-cpan-diff b/Porting/core-cpan-diff index dbfeac7..712b896 100644 --- a/Porting/core-cpan-diff +++ b/Porting/core-cpan-diff @@ -519,7 +519,7 @@ sub do_crosscheck { } # get the EXCLUDED and MAP entries for this module, or -# make up defauts if they don't exist +# make up defaults if they don't exist sub get_map { my ( $m, $module_name, $perl_files ) = @_; diff --git a/Porting/make_dot_patch.pl b/Porting/make_dot_patch.pl index b50fd85..71c4604 100755 --- a/Porting/make_dot_patch.pl +++ b/Porting/make_dot_patch.pl @@ -8,7 +8,7 @@ use warnings; # It tries to find which of our primary branches the sha1 can be found on, # and then prints to standard out something similar to what our rsync feed # would produce for that situation. The main difference being, in that case -# we KNOW what branch we are on, and in this one we dont, and in that case +# we KNOW what branch we are on, and in this one we don't, and in that case # the $tstamp field holds the time the snapshot was generated (so that multiple # fetches will always have an increasing tstamp field), however in this case # we use the commit date of the sha1. diff --git a/Porting/pod_lib.pl b/Porting/pod_lib.pl index 5d923ba..8c5ac21 100644 --- a/Porting/pod_lib.pl +++ b/Porting/pod_lib.pl @@ -403,7 +403,7 @@ List of one or more arguments. =item * Boolean true or false -=item * Reference to a suboutine. +=item * Reference to a subroutine. =item * Various other arguments. diff --git a/Porting/sync-with-cpan b/Porting/sync-with-cpan index b6ee246..1e36689 100755 --- a/Porting/sync-with-cpan +++ b/Porting/sync-with-cpan @@ -401,7 +401,7 @@ print "done\n"; # # Must clean up, or else t/porting/FindExt.t will fail. -# Note that we can always retrieve the orginal directory with a git checkout. +# Note that we can always retrieve the original directory with a git checkout. # print "About to clean up; hit return or abort (^C) "; ; -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0011-typo-fixes-for-version-pod.patch ```diff From 0ad36864ec0ed1dbf423b7e6641642225c3b1654 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 06:57:44 -0400 Subject: [PATCH 11/58] typo fixes for version pod --- lib/version/Internals.pod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/version/Internals.pod b/lib/version/Internals.pod index ff63eba..f2b3e81 100644 --- a/lib/version/Internals.pod +++ b/lib/version/Internals.pod @@ -251,7 +251,7 @@ when using version.pm methods, as this will ensure that what you type is what is used. Additionally, if you quote your initializer, then the quoted value that goes -B will be be exactly what comes B when your $VERSION is printed +B will be exactly what comes B when your $VERSION is printed (stringified). If you do not quote your value, Perl's normal numeric handling comes into play and you may not get back what you were expecting. @@ -343,7 +343,7 @@ See L. =item alpha A boolean that denotes whether this is an alpha version. NOTE: that the -underscore can can only appear in the last position. See L. +underscore can only appear in the last position. See L. =item version -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0012-typo-fixes-for-Unicode-module.patch ```diff From 51ec75dfcd69e448d3b26c14b48077f7025cecae Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 06:58:28 -0400 Subject: [PATCH 12/58] typo fixes for Unicode module --- lib/Unicode/UCD.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/Unicode/UCD.pm b/lib/Unicode/UCD.pm index 9c3dd7c..a68b429 100644 --- a/lib/Unicode/UCD.pm +++ b/lib/Unicode/UCD.pm @@ -1687,7 +1687,7 @@ Those discouraged forms are accepted as input to C, but are not returned in the lists. C and C, which are old synonyms for C<"Is_LC"> and should not be used in new code, are examples of this. These both return C<(Is_LC, Cased_Letter)>. Thus this -function allows you to take a discourarged form, and find its acceptable +function allows you to take a discouraged form, and find its acceptable alternatives. The same goes with single-form Block property equivalences. Only the forms that begin with C<"In_"> are not discouraged; if you pass C a discouraged form, you will get back the equivalent ones that @@ -2087,7 +2087,7 @@ the same result: And both raise a warning that a Unicode property is being used on a non-Unicode code point. It is arguable as to which is the correct thing to do here. This function has chosen the way opposite to the Perl regular -expression behavior. This allows you to easily flip to to the Perl regular +expression behavior. This allows you to easily flip to the Perl regular expression way (for you to go in the other direction would be far harder). Simply add 0x110000 at the end of the non-empty returned list if it isn't already that value; and pop that value if it is; like: @@ -2350,7 +2350,7 @@ properties acceptable as inputs to this function. It is a fatal error to call this function except in list context. -In addition to the the two arrays that form the inversion map, C +In addition to the two arrays that form the inversion map, C returns two other values; one is a scalar that gives some details as to the format of the entries of the map array; the other is used for specialized purposes, described at the end of this section. @@ -2693,7 +2693,7 @@ properties, except that one of the scalar elements is of the form: This signifies that this entry should be replaced by the decompositions for all the code points whose decomposition is algorithmically calculated. (All -of them are currently in one range and no others outisde the range are likely +of them are currently in one range and no others outside the range are likely to ever be added to Unicode; the C<"n"> format has this same entry.) These can be generated via the function L. @@ -2817,7 +2817,7 @@ sub prop_invmap ($) { # The swash has two components we look at, the base list, and a hash, # named 'SPECIALS', containing any additional members whose mappings don't - # fit into the the base list scheme of things. These generally 'override' + # fit into the base list scheme of things. These generally 'override' # any value in the base list for the same code point. my $overrides; @@ -3161,7 +3161,7 @@ RETRY: $list .= "$hex_begin\t$hex_end\t$decimal_map\n"; } else { - # Here, no combining done. Just appen the initial + # Here, no combining done. Just append the initial # (and current) values. $list .= "$hex_begin\t\t$decimal_map\n"; } -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0013-typo-fix-for-File-Find.patch ```diff From 0238dc320e7f748fca0395affb367e1831eeab1a Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 06:59:07 -0400 Subject: [PATCH 13/58] typo fix for File::Find --- lib/File/Find.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/File/Find.pm b/lib/File/Find.pm index d1dbc52..c06c7a1 100644 --- a/lib/File/Find.pm +++ b/lib/File/Find.pm @@ -488,7 +488,7 @@ sub _find_opt { $cwd = VMS::Filespec::unixpath($cwd); # Apparently this is not expected to have a trailing space. - # To attempt to make VMS/UNIX conversions mostly reversable, + # To attempt to make VMS/UNIX conversions mostly reversible, # a trailing slash is needed. The run-time functions ignore the # resulting double slash, but it causes the perl tests to fail. $cwd =~ s#/\z##; -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0014-typo-fixes-for-Benchmark.patch ```diff From 4fdc3ba4e2d32d9484dcbc0b48f273b131ae0fd6 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:00:56 -0400 Subject: [PATCH 14/58] typo fixes for Benchmark --- lib/Benchmark.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Benchmark.pm b/lib/Benchmark.pm index 1fa187e..073038c 100644 --- a/lib/Benchmark.pm +++ b/lib/Benchmark.pm @@ -748,7 +748,7 @@ sub countit { while ( $tc < $tpra ) { # The 5% fudge is to keep us from iterating again all # that often (this speeds overall responsiveness when $tmax is big - # and we guess a little low). This does not noticably affect + # and we guess a little low). This does not noticeably affect # accuracy since we're not counting these times. $n = int( $tpra * 1.05 * $n / $tc ); # Linear approximation. my $td = timeit($n, $code); @@ -997,7 +997,7 @@ sub cmpthese{ $col_widths[$col_num+2] = length( $out ) if length( $out ) > $col_widths[$col_num+2]; - # A little wierdness to set the first column width properly + # A little weirdness to set the first column width properly $col_widths[$col_num+2] = length( $col_val->[0] ) if length( $col_val->[0] ) > $col_widths[$col_num+2]; } -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0015-typo-fix-for-_charnames.patch ```diff From 924bc9cf1668ac461efe3173287c0792aa2cad92 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:01:16 -0400 Subject: [PATCH 15/58] typo fix for _charnames --- lib/_charnames.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/_charnames.pm b/lib/_charnames.pm index fa52a9b..7492e65 100644 --- a/lib/_charnames.pm +++ b/lib/_charnames.pm @@ -475,7 +475,7 @@ sub lookup_name ($$$) { /xs) { # Even in non-loose matching, the script traditionally has been - # case insensitve + # case insensitive $scripts_trie = "\U$1"; $lookup_name = $2; -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0016-typo-fix-for-DB.patch ```diff From a2b5e5ba009c19cb761cd09ba940e0bbf1a70e86 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:01:35 -0400 Subject: [PATCH 16/58] typo fix for DB --- lib/DB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DB.pm b/lib/DB.pm index 03f2b21..8f15011 100644 --- a/lib/DB.pm +++ b/lib/DB.pm @@ -38,7 +38,7 @@ BEGIN { $DB::package = ''; # current package space $DB::filename = ''; # current filename - $DB::subname = ''; # currently executing sub (fullly qualified name) + $DB::subname = ''; # currently executing sub (fully qualified name) $DB::lineno = ''; # current line number $DB::VERSION = $DB::VERSION = '1.04'; -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0017-typo-fix-for-Thread.patch ```diff From 2239ad62d4fff7f301013ce4dd68ded13d92f6bb Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:01:50 -0400 Subject: [PATCH 17/58] typo fix for Thread --- lib/Thread.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Thread.pm b/lib/Thread.pm index 247f90c..7ca3d42 100644 --- a/lib/Thread.pm +++ b/lib/Thread.pm @@ -168,7 +168,7 @@ does a C or C for that same locked variable. The variable that C blocked on is relocked after the C is satisfied. If there are multiple threads Cing on the same variable, all but one will reblock waiting -to reaquire the lock on the variable. (So if you're only using +to require the lock on the variable. (So if you're only using C for synchronization, give up the lock as soon as possible.) -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0018-typo-fix-for-perl5db.patch ```diff From b1e54e119af1c80cfb06f7b80609233bf47f6dc0 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:02:52 -0400 Subject: [PATCH 18/58] typo fix for perl5db --- lib/perl5db.pl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/perl5db.pl b/lib/perl5db.pl index 85a5ef4..f709e45 100644 --- a/lib/perl5db.pl +++ b/lib/perl5db.pl @@ -318,7 +318,7 @@ is entered or exited. =item * 8 - Adds parameter information to messages, and overloaded stringify and tied FETCH is enabled on the printed arguments. Ignored if C<4> is not on. -=item * 16 - Adds C return from I: I> messages on subroutine/eval exit. Ignored if C<4> is is not on. +=item * 16 - Adds C return from I: I> messages on subroutine/eval exit. Ignored if C<4> is not on. =back @@ -1821,7 +1821,7 @@ sub _DB__read_next_cmd setterm(); } - # ... and it belogs to this PID or we get one for this PID ... + # ... and it belongs to this PID or we get one for this PID ... if ($term_pid != $$) { resetterm(1); } @@ -2097,7 +2097,7 @@ sub _DB__handle_forward_slash_command { # If the pattern isn't null ... if ( $inpat ne "" ) { - # Turn of warn and die procesing for a bit. + # Turn off warn and die processing for a bit. local $SIG{__DIE__}; local $SIG{__WARN__}; @@ -2965,7 +2965,7 @@ Same as for C, except the loop runs backwards. =head4 C<$rc> - Recall command Manages the commands in C<@hist> (which is created if C reports -that the terminal supports history). It find the the command required, puts it +that the terminal supports history). It finds the command required, puts it into C<$cmd>, and redoes the loop to execute it. =cut @@ -3141,7 +3141,7 @@ again. # # my $obj = DB::Obj->new( # -# The following package declaraton must come before that, +# The following package declaration must come before that, # or else runtime errors will occur with # # PERLDB_OPTS="autotrace nonstop" @@ -6083,7 +6083,7 @@ sub cmd_W { } ## end foreach (@to_watch) # We don't bother to turn watching off because - # a) we don't want to stop calling watchfunction() it it exists + # a) we don't want to stop calling watchfunction() if it exists # b) foreach over a null list doesn't do anything anyway } ## end elsif ($expr =~ /^(\S.*)/) @@ -6418,7 +6418,7 @@ sub print_trace { # Drop out if the user has lost interest and hit control-C. last if $signal; - # Set the separator so arrys print nice. + # Set the separator so arrays print nice. local $" = ', '; # Grab and stringify the arguments if they are there. @@ -10303,7 +10303,7 @@ sub cmd_prepost { my $which = ''; # Make sure we have some array or another to address later. - # This means that if ssome reason the tests fail, we won't be + # This means that if for some reason the tests fail, we won't be # trying to stash actions or delete them from the wrong place. my $aref = []; -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0019-typo-fixes-for-B-modules.patch ```diff From c36d8bc7b7b5f5f5c1e820f8f80bd1a66152ed97 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:05:15 -0400 Subject: [PATCH 19/58] typo fixes for B modules uses of optimise change to optimize to be consistent with other uses of optimize --- ext/B/B.pm | 2 +- ext/B/B/Concise.pm | 2 +- ext/B/B/Showlex.pm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/B/B.pm b/ext/B/B.pm index 8856a32..fe5e918 100644 --- a/ext/B/B.pm +++ b/ext/B/B.pm @@ -1063,7 +1063,7 @@ underlying C "inheritance": / \ B::LOOP B::PMOP -Access methods correspond to the underlying C structre field names, +Access methods correspond to the underlying C structure field names, with the leading "class indication" prefix (C<"op_">) removed. =head2 B::OP Methods diff --git a/ext/B/B/Concise.pm b/ext/B/B/Concise.pm index 67876a1..fd6c1b4 100644 --- a/ext/B/B/Concise.pm +++ b/ext/B/B/Concise.pm @@ -1636,7 +1636,7 @@ your program is). =item B<#opt> -Whether or not the op has been optimised by the peephole optimiser. +Whether or not the op has been optimized by the peephole optimizer. Only available in 5.9 and later. diff --git a/ext/B/B/Showlex.pm b/ext/B/B/Showlex.pm index 2de8aa4..7374898 100644 --- a/ext/B/B/Showlex.pm +++ b/ext/B/B/Showlex.pm @@ -196,7 +196,7 @@ example. See L for a fuller explanation of reasons. Some of the reported info, such as hex addresses, is not particularly valuable. Other information would be more useful for the typical programmer, such as line-numbers, pad-slot reuses, etc.. Given this, --newlex isnt a particularly good flag-name. +-newlex isn't a particularly good flag-name. =head1 AUTHOR -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0020-typo-fixes-for-Math-BigInt.patch ```diff From cc2023b15fa7fd65f491626222fb0862997561b4 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:07:17 -0400 Subject: [PATCH 20/58] typo fixes for Math::BigInt --- dist/Math-BigInt/lib/Math/BigFloat.pm | 10 +++++----- dist/Math-BigInt/lib/Math/BigInt.pm | 14 +++++++------- dist/Math-BigInt/lib/Math/BigInt/Calc.pm | 6 +++--- dist/Math-BigInt/lib/Math/BigInt/CalcEmu.pm | 2 +- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/dist/Math-BigInt/lib/Math/BigFloat.pm b/dist/Math-BigInt/lib/Math/BigFloat.pm index b0f2e4d..1b2a425 100644 --- a/dist/Math-BigInt/lib/Math/BigFloat.pm +++ b/dist/Math-BigInt/lib/Math/BigFloat.pm @@ -454,7 +454,7 @@ sub bneg return $x if $x->modify('bneg'); - # for +0 dont negate (to have always normalized +0). Does nothing for 'NaN' + # for +0 don't negate (to have always normalized +0). Does nothing for 'NaN' $x->{sign} =~ tr/+-/-+/ unless ($x->{sign} eq '+' && $MBI->_is_zero($x->{_m})); $x; } @@ -1872,7 +1872,7 @@ sub bdiv ($x->{_e},$x->{_es}) = _e_sub($x->{_e}, $MBI->_new($scale), $x->{_es}, '+'); $x->bnorm(); # remove trailing 0's } - } # ende else $x != $y + } # end else $x != $y # shortcut to not run through _find_round_parameters again if (defined $params[0]) @@ -2037,7 +2037,7 @@ sub broot # simulate old behaviour $params[0] = $self->div_scale(); # and round to it as accuracy $scale = $params[0]+4; # at least four more for proper round - $params[2] = $r; # iound mode by caller or undef + $params[2] = $r; # round mode by caller or undef $fallback = 1; # to clear a/p afterwards } else @@ -3289,7 +3289,7 @@ sub bfround my $zad = 0; # zeros after dot $zad = $dad - $len if (-$dad < -$len); # for 0.00..00xxx style - # p rint "scale $scale dad $dad zad $zad len $len\n"; + # print "scale $scale dad $dad zad $zad len $len\n"; # number bsstr len zad dad # 0.123 123e-3 3 0 3 # 0.0123 123e-4 3 1 4 @@ -3695,7 +3695,7 @@ sub bnorm if $MBI->_is_zero($x->{_m}); } - $x; # MBI bnorm is no-op, so dont call it + $x; # MBI bnorm is no-op, so don't call it } ############################################################################## diff --git a/dist/Math-BigInt/lib/Math/BigInt.pm b/dist/Math-BigInt/lib/Math/BigInt.pm index 37c6b37..5f16107 100644 --- a/dist/Math-BigInt/lib/Math/BigInt.pm +++ b/dist/Math-BigInt/lib/Math/BigInt.pm @@ -149,7 +149,7 @@ use overload }, # the original qw() does not work with the TIESCALAR below, why? -# Order of arguments unsignificant +# Order of arguments insignificant '""' => sub { $_[0]->bstr(); }, '0+' => sub { $_[0]->numify(); } ; @@ -1036,7 +1036,7 @@ sub bneg return $x if $x->modify('bneg'); - # for +0 dont negate (to have always normalized +0). Does nothing for 'NaN' + # for +0 don't negate (to have always normalized +0). Does nothing for 'NaN' $x->{sign} =~ tr/+-/-+/ unless ($x->{sign} eq '+' && $CALC->_is_zero($x->{value})); $x; } @@ -1073,7 +1073,7 @@ sub bcmp return -1 if $x->{sign} eq '-' && $y->{sign} eq '+'; # does also -x <=> 0 # have same sign, so compare absolute values. Don't make tests for zero here - # because it's actually slower than testin in Calc (especially w/ Pari et al) + # because it's actually slower than testing in Calc (especially w/ Pari et al) # post-normalized compare for internal use (honors signs) if ($x->{sign} eq '+') @@ -1083,7 +1083,7 @@ sub bcmp } # $x && $y both < 0 - $CALC->_acmp($y->{value},$x->{value}); # swaped acmp (lib returns 0,1,-1) + $CALC->_acmp($y->{value},$x->{value}); # swapped acmp (lib returns 0,1,-1) } sub bacmp @@ -1740,7 +1740,7 @@ sub bdiv } else { - $rem->{sign} = '+'; # dont leave -0 + $rem->{sign} = '+'; # don't leave -0 } $rem->round(@r); return ($x,$rem); @@ -1788,7 +1788,7 @@ sub bmod } else { - $x->{sign} = '+'; # dont leave -0 + $x->{sign} = '+'; # don't leave -0 } $x->round(@r); } @@ -3869,7 +3869,7 @@ numbers. $x->bsgn(); Signum function. Set the number to -1, 0, or 1, depending on whether the -number is negative, zero, or positive, respectivly. Does not modify NaNs. +number is negative, zero, or positive, respectively. Does not modify NaNs. =head2 bnorm() diff --git a/dist/Math-BigInt/lib/Math/BigInt/Calc.pm b/dist/Math-BigInt/lib/Math/BigInt/Calc.pm index 6909237..64eca4a 100644 --- a/dist/Math-BigInt/lib/Math/BigInt/Calc.pm +++ b/dist/Math-BigInt/lib/Math/BigInt/Calc.pm @@ -2,7 +2,7 @@ package Math::BigInt::Calc; use 5.006002; use strict; -# use warnings; # dont use warnings for older Perls +# use warnings; # don't use warnings for older Perls our $VERSION = '1.997'; @@ -23,7 +23,7 @@ our $VERSION = '1.997'; # Beware of things like: # $i = $i * $y + $car; $car = int($i / $BASE); $i = $i % $BASE; -# This works on x86, but fails on ARM (SA1100, iPAQ) due to whoknows what +# This works on x86, but fails on ARM (SA1100, iPAQ) due to who knows what # reasons. So, use this instead (slower, but correct): # $i = $i * $y + $car; $car = int($i / $BASE); $i -= $BASE * $car; @@ -1566,7 +1566,7 @@ sub _nok { else { - # Make a copy of the original n, since we'll be modifing n in-place. + # Make a copy of the original n, since we'll be modifying n in-place. my $n_orig = _copy($c, $n); diff --git a/dist/Math-BigInt/lib/Math/BigInt/CalcEmu.pm b/dist/Math-BigInt/lib/Math/BigInt/CalcEmu.pm index c82e153..0afc858 100644 --- a/dist/Math-BigInt/lib/Math/BigInt/CalcEmu.pm +++ b/dist/Math-BigInt/lib/Math/BigInt/CalcEmu.pm @@ -2,7 +2,7 @@ package Math::BigInt::CalcEmu; use 5.006002; use strict; -# use warnings; # dont use warnings for older Perls +# use warnings; # don't use warnings for older Perls use vars qw/$VERSION/; $VERSION = '1.998'; -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0021-typo-fix-for-Attribute-Handlers.patch ```diff From 848297e287c01ee43b4e6184310fa9c1ea5d668c Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:08:03 -0400 Subject: [PATCH 21/58] typo fix for Attribute::Handlers --- dist/Attribute-Handlers/lib/Attribute/Handlers.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/Attribute-Handlers/lib/Attribute/Handlers.pm b/dist/Attribute-Handlers/lib/Attribute/Handlers.pm index 60ee32a..c120720 100644 --- a/dist/Attribute-Handlers/lib/Attribute/Handlers.pm +++ b/dist/Attribute-Handlers/lib/Attribute/Handlers.pm @@ -878,7 +878,7 @@ C, C, C, C, or C. =item C A handler for attributes of the specified name I defined, but not -for the specified type of declaration. Typically encountered whe trying +for the specified type of declaration. Typically encountered when trying to apply a C attribute handler to a subroutine, or a C attribute handler to some other type of variable. -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0022-typo-fixes-for-ExtUtils-ParseXS.patch ```diff From b4c31c16db1badaad2bf99cfaa29255ef3d398f9 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:08:49 -0400 Subject: [PATCH 22/58] typo fixes for ExtUtils::ParseXS --- dist/ExtUtils-ParseXS/lib/perlxs.pod | 4 ++-- dist/ExtUtils-ParseXS/lib/perlxstypemap.pod | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dist/ExtUtils-ParseXS/lib/perlxs.pod b/dist/ExtUtils-ParseXS/lib/perlxs.pod index 11fc13c..4d67aaf 100644 --- a/dist/ExtUtils-ParseXS/lib/perlxs.pod +++ b/dist/ExtUtils-ParseXS/lib/perlxs.pod @@ -556,7 +556,7 @@ not care about its initial contents. Starting with Perl 5.16, you can embed typemaps into your XS code instead of or in addition to typemaps in a separate file. Multiple such embedded typemaps will be processed in order of appearance in -the XS code and like local typemap files take precendence over the +the XS code and like local typemap files take precedence over the default typemap, the embedded typemaps may overwrite previous definitions of TYPEMAP, INPUT, and OUTPUT stanzas. The syntax for embedded typemaps is @@ -1958,7 +1958,7 @@ of C. =item MY_CXT_INIT -The MY_CXT_INIT macro initialises storage for the C struct. +The MY_CXT_INIT macro initializes storage for the C struct. It I be called exactly once, typically in a BOOT: section. If you are maintaining multiple interpreters, it should be called once in each diff --git a/dist/ExtUtils-ParseXS/lib/perlxstypemap.pod b/dist/ExtUtils-ParseXS/lib/perlxstypemap.pod index 94bd037..e2bc7ed 100644 --- a/dist/ExtUtils-ParseXS/lib/perlxstypemap.pod +++ b/dist/ExtUtils-ParseXS/lib/perlxstypemap.pod @@ -159,7 +159,7 @@ has default XS types for a large number of C types. For example, if you simply return a C from your XSUB, the core typemap will have this C type associated with the T_PV XS type. That means your C string will be copied into the PV (pointer value) slot of a new scalar -that will be returned from your XSUB to to Perl. +that will be returned from your XSUB to Perl. If you're developing a CPAN distribution using XS, you may add your own file called F to the distribution. That file may contain @@ -595,7 +595,7 @@ C. =item T_PACKEDARRAY T_PACKEDARRAY is similar to T_PACKED. In fact, the C (Perl -to XSUB) typemap is indentical, but the C typemap passes +to XSUB) typemap is identical, but the C typemap passes an additional argument to the C function. This third parameter indicates the number of elements in the output so that the function can handle C arrays sanely. The variable @@ -612,7 +612,7 @@ is concerned. It just has to be in line with the declared variable. Of course, unless you know the number of elements in the C C array, within your XSUB, the return value from -C will be hard to decypher. +C will be hard to decipher. Since the details are all up to the XS author (the typemap user), there are several solutions, none of which particularly elegant. The most commonly seen solution has been to allocate memory for @@ -620,7 +620,7 @@ N+1 pointers and assign C to the (N+1)th to facilitate iteration. Alternatively, using a customized typemap for your purposes in -the first place is probably preferrable. +the first place is probably preferable. =item T_DATAUNIT -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0023-another-typo-fix-for-ExtUtils-ParseXS.patch ```diff From 58b3bc987342133d3df3a3709c8254217f96d4a9 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:10:50 -0400 Subject: [PATCH 23/58] another typo fix for ExtUtils::ParseXS --- dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm b/dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm index d50b501..f225ce1 100644 --- a/dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm +++ b/dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm @@ -1638,7 +1638,7 @@ sub PopFile { close $self->{FH}; $self->{FH} = $data->{Handle}; - # $filename is the leafname, which for some reason isused for diagnostic + # $filename is the leafname, which for some reason is used for diagnostic # messages, whereas $filepathname is the full pathname, and is used for # #line directives. $self->{filename} = $data->{Filename}; -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0024-typo-fixes-for-Cwd.patch ```diff From 0e001c1b161eed6408f00e165fc0ed5e6c101a82 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:11:33 -0400 Subject: [PATCH 24/58] typo fixes for Cwd --- dist/Cwd/Cwd.pm | 2 +- dist/Cwd/lib/File/Spec/VMS.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/Cwd/Cwd.pm b/dist/Cwd/Cwd.pm index 8886c67..b7df823 100644 --- a/dist/Cwd/Cwd.pm +++ b/dist/Cwd/Cwd.pm @@ -343,7 +343,7 @@ foreach my $try ('/bin/pwd', } my $found_pwd_cmd = defined($pwd_cmd); unless ($pwd_cmd) { - # Isn't this wrong? _backtick_pwd() will fail if somenone has + # Isn't this wrong? _backtick_pwd() will fail if someone has # pwd in their path but it is not /bin/pwd or /usr/bin/pwd? # See [perl #16774]. --jhi $pwd_cmd = 'pwd'; diff --git a/dist/Cwd/lib/File/Spec/VMS.pm b/dist/Cwd/lib/File/Spec/VMS.pm index 6af1ac0..42f3937 100644 --- a/dist/Cwd/lib/File/Spec/VMS.pm +++ b/dist/Cwd/lib/File/Spec/VMS.pm @@ -27,7 +27,7 @@ there. This package overrides the implementation of these methods, not the semantics. The default behavior is to allow either VMS or Unix syntax on input and to -return VMS syntax on output unless Unix syntax has been explicity requested +return VMS syntax on output unless Unix syntax has been explicitly requested via the C CRTL feature. =over 4 -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0025-typo-fixes-for-Locale-Maketext.patch ```diff From 12b79763b90e99aac5a5f7e2a82024ad1d445561 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:12:24 -0400 Subject: [PATCH 25/58] typo fixes for Locale::Maketext --- dist/Locale-Maketext/lib/Locale/Maketext.pm | 4 ++-- dist/Locale-Maketext/lib/Locale/Maketext/TPJ13.pod | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/Locale-Maketext/lib/Locale/Maketext.pm b/dist/Locale-Maketext/lib/Locale/Maketext.pm index 63e5fba..9225da3 100644 --- a/dist/Locale-Maketext/lib/Locale/Maketext.pm +++ b/dist/Locale-Maketext/lib/Locale/Maketext.pm @@ -194,7 +194,7 @@ sub maketext { my($handle, $phrase) = splice(@_,0,2); Carp::confess('No handle/phrase') unless (defined($handle) && defined($phrase)); - # backup $@ in case it it's still being used in the calling code. + # backup $@ in case it's still being used in the calling code. # If no failures, we'll re-set it back to what it was later. my $at = $@; @@ -344,7 +344,7 @@ sub _langtag_munging { my($base_class, @languages) = @_; # We have all these DEBUG statements because otherwise it's hard as hell - # to diagnose ifwhen something goes wrong. + # to diagnose if/when something goes wrong. DEBUG and warn 'Lgs1: ', map("<$_>", @languages), "\n"; diff --git a/dist/Locale-Maketext/lib/Locale/Maketext/TPJ13.pod b/dist/Locale-Maketext/lib/Locale/Maketext/TPJ13.pod index b9586b2..8d3eae6 100644 --- a/dist/Locale-Maketext/lib/Locale/Maketext/TPJ13.pod +++ b/dist/Locale-Maketext/lib/Locale/Maketext/TPJ13.pod @@ -715,7 +715,7 @@ right tool for the job. However, other accidents of history have made Perl a well-accepted language for design of server-side programs (generally in CGI form) for Web site interfaces. Localization of static pages in Web sites is -trivial, feasable either with simple language-negotiation features in +trivial, feasible either with simple language-negotiation features in servers like Apache, or with some kind of server-side inclusions of language-appropriate text into layout templates. However, I think that the localization of Perl-based search systems (or other kinds of -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0026-typo-fixes-for-B-Depaese.patch ```diff From 69cdd67922dc63b5a0aae698317d84fdcfb376d2 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:13:09 -0400 Subject: [PATCH 26/58] typo fixes for B::Depaese --- dist/B-Deparse/Deparse.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/B-Deparse/Deparse.pm b/dist/B-Deparse/Deparse.pm index d62fe3b..5ad13b8 100644 --- a/dist/B-Deparse/Deparse.pm +++ b/dist/B-Deparse/Deparse.pm @@ -401,7 +401,7 @@ sub _pessimise_walk_exe { } } -# Go through an optree and and "remove" some optimisations by using an +# Go through an optree and "remove" some optimisations by using an # overlay to selectively modify or un-null some ops. Deparsing in the # absence of those optimisations is then easier. # @@ -3934,7 +3934,7 @@ sub re_uninterp_extended { } } -my %unctrl = # portable to to EBCDIC +my %unctrl = # portable to EBCDIC ( "\c@" => '\c@', # unused "\cA" => '\cA', -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0027-typo-fix-for-bigint.patch ```diff From 589444c2502c77760c73ff125ac0f8c7d1c37199 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:13:27 -0400 Subject: [PATCH 27/58] typo fix for bigint --- dist/bignum/lib/bigint.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/bignum/lib/bigint.pm b/dist/bignum/lib/bigint.pm index 32c88bf..f3d685d 100644 --- a/dist/bignum/lib/bigint.pm +++ b/dist/bignum/lib/bigint.pm @@ -523,7 +523,7 @@ B the original and the copy being destroyed: $x = 9; $y = $x; print $x->bmul(2), " ", $y,"\n"; # prints 18 18 -Using methods that do not modify, but testthe contents works: +Using methods that do not modify, but test the contents works: $x = 9; $y = $x; $z = 9 if $x->is_zero(); # works fine -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0028-typo-fix-for-Data-Dumper.patch ```diff From 65dc3b833739306b1e11524ce0a7ab85572da5d1 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:13:58 -0400 Subject: [PATCH 28/58] typo fix for Data::Dumper --- dist/Data-Dumper/Dumper.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/Data-Dumper/Dumper.pm b/dist/Data-Dumper/Dumper.pm index a04024e..67abf4b 100644 --- a/dist/Data-Dumper/Dumper.pm +++ b/dist/Data-Dumper/Dumper.pm @@ -87,7 +87,7 @@ sub new { terse => $Terse, # avoid name output (where feasible) freezer => $Freezer, # name of Freezer method for objects toaster => $Toaster, # name of method to revive objects - deepcopy => $Deepcopy, # dont cross-ref, except to stop recursion + deepcopy => $Deepcopy, # don't cross-ref, except to stop recursion quotekeys => $Quotekeys, # quote hash keys 'bless' => $Bless, # keyword to use for "bless" # expdepth => $Expdepth, # cutoff depth for explicit dumping @@ -300,7 +300,7 @@ sub _dump { $id = format_refaddr($val); # Note: By this point $name is always defined and of non-zero length. - # Keep a tab on it so that we dont fall into recursive pit. + # Keep a tab on it so that we don't fall into recursive pit. if (exists $s->{seen}{$id}) { if ($s->{purity} and $s->{level} > 0) { $out = ($realtype eq 'HASH') ? '{}' : @@ -927,9 +927,9 @@ called with any other type of argument, dies. Queries or replaces the internal array of user supplied names for the values that will be dumped. When called without arguments, returns the names. When called with an array of replacement names, returns the object itself. If the -number of replacment names exceeds the number of values to be named, the +number of replacement names exceeds the number of values to be named, the excess names will not be used. If the number of replacement names falls short -of the number of values to be named, the list of replacment names will be +of the number of values to be named, the list of replacement names will be exhausted and remaining values will not be renamed. When called with any other type of argument, dies. -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0029-typo-fix-for-ExtUtils-CBuilder.patch ```diff From bf58689fd5cde82702c80f22a27f713c4947046f Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:14:30 -0400 Subject: [PATCH 29/58] typo fix for ExtUtils::CBuilder --- dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm index d7876f5..30196da 100644 --- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm +++ b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm @@ -42,7 +42,7 @@ sub write_compiler_script { # XXX Borland "response files" seem to be unable to accept macro # definitions containing quoted strings. Escaping strings with # backslash doesn't work, and any level of quotes are stripped. The - # result is is a floating point number in the source file where a + # result is a floating point number in the source file where a # string is expected. So we leave the macros on the command line. print $SCRIPT join( "\n", map { ref $_ ? @{$_} : $_ } -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0030-typo-fixes-for-ExtUtils-Install.patch ```diff From 85d25393972cfa91fb3968a9e34a6b718e195905 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:15:29 -0400 Subject: [PATCH 30/58] typo fixes for ExtUtils::Install --- dist/ExtUtils-Install/lib/ExtUtils/Install.pm | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dist/ExtUtils-Install/lib/ExtUtils/Install.pm b/dist/ExtUtils-Install/lib/ExtUtils/Install.pm index 7e17121..9df72ad 100644 --- a/dist/ExtUtils-Install/lib/ExtUtils/Install.pm +++ b/dist/ExtUtils-Install/lib/ExtUtils/Install.pm @@ -42,7 +42,7 @@ ExtUtils::Install - install files from here to there =cut -$VERSION = '1.59'; # <---- dont forget to update the POD section just above this line! +$VERSION = '1.59'; # <---- don't forget to update the POD section just above this line! $VERSION = eval $VERSION; =pod @@ -57,7 +57,7 @@ ExtUtils::MakeMaker handles the installation and deinstallation of perl modules. They are not designed as general purpose tools. On some operating systems such as Win32 installation may not be possible -until after a reboot has occured. This can have varying consequences: +until after a reboot has occurred. This can have varying consequences: removing an old DLL does not impact programs using the new one, but if a new DLL cannot be installed properly until reboot then anything depending on it must wait. The package variable @@ -66,9 +66,9 @@ depending on it must wait. The package variable is used to store this status. -If this variable is true then such an operation has occured and +If this variable is true then such an operation has occurred and anything depending on this module cannot proceed until a reboot -has occured. +has occurred. If this value is defined but false then such an operation has ocurred, but should not impact later operations. @@ -162,7 +162,7 @@ $target should be a ref to an array if the file is to be deleted otherwise it should be a filespec for a rename. If the file is existing it will be replaced. -Sets $MUST_REBOOT to 0 to indicate a deletion operation has occured +Sets $MUST_REBOOT to 0 to indicate a deletion operation has occurred and sets it to 1 to indicate that a move operation has been requested. returns 1 on success, on failure if $moan is false errors are fatal. @@ -392,7 +392,7 @@ be created first. Returns a list, containing: C<($writable, $determined_by, @create)> -C<$writable> says whether whether the directory is (hypothetically) writable +C<$writable> says whether the directory is (hypothetically) writable C<$determined_by> is the directory the status was determined from. It will be either the C<$dir>, or one of its parents. @@ -606,7 +606,7 @@ As of version 1.47 the following additions were made to the install interface. Note that the new argument style and use of the %result hash is recommended. The $always_copy parameter which when true causes files to be updated -regardles as to whether they have changed, if it is defined but false then +regardless as to whether they have changed, if it is defined but false then copies are made only if the files have changed, if it is undefined then the value of the environment variable EU_INSTALL_ALWAYS_COPY is used as default. @@ -641,7 +641,7 @@ B If there is only one argument and it is a reference to an array then the array is assumed to contain a list of key-value pairs specifying the options. In this case the option "from_to" is mandatory. This style -means that you dont have to supply a cryptic list of arguments and can +means that you don't have to supply a cryptic list of arguments and can use a self documenting argument list that is easier to understand. This is now the recommended interface to install(). @@ -838,7 +838,7 @@ sub install { #XXX OS-SPECIFIC =item _do_cleanup -Standardize finish event for after another instruction has occured. +Standardize finish event for after another instruction has occurred. Handles converting $MUST_REBOOT to a die for instance. =end _private -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0031-typo-fix-for-IO.patch ```diff From d0c2f5d224d1bb8aba2f137819c5af36b75b847a Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:15:52 -0400 Subject: [PATCH 31/58] typo fix for IO --- dist/IO/lib/IO/Handle.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/IO/lib/IO/Handle.pm b/dist/IO/lib/IO/Handle.pm index 1cfe29e..75f7ddb 100644 --- a/dist/IO/lib/IO/Handle.pm +++ b/dist/IO/lib/IO/Handle.pm @@ -625,7 +625,7 @@ sub ioctl { # a sub called constant to determine if a constant existed -- GMB # # The SEEK_* and _IO?BF constants were the only constants at that time -# any new code should just chech defined(&CONSTANT_NAME) +# any new code should just check defined(&CONSTANT_NAME) sub constant { no strict 'refs'; -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0032-typo-fix-for-Storable.patch ```diff From 6db0a928d39da671b0395fcc90319baf2e2ba363 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:16:19 -0400 Subject: [PATCH 32/58] typo fix for Storable --- dist/Storable/Storable.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/Storable/Storable.pm b/dist/Storable/Storable.pm index 0cc5d16..1f77a1d 100644 --- a/dist/Storable/Storable.pm +++ b/dist/Storable/Storable.pm @@ -311,7 +311,7 @@ sub _store_fd { # # freeze # -# Store oject and its hierarchy in memory and return a scalar +# Store object and its hierarchy in memory and return a scalar # containing the result. # sub freeze { @@ -1048,7 +1048,7 @@ untrusted sources!> If your application requires accepting data from untrusted sources, you are best off with a less powerful and more-likely safe serialization format -and implementation. If your data is sufficently simple, JSON is a good +and implementation. If your data is sufficiently simple, JSON is a good choice and offers maximum interoperability. =head1 WARNING @@ -1162,7 +1162,7 @@ correct behaviour. What this means is that if you have data written by Storable 1.x running on perl 5.6.0 or 5.6.1 configured with 64 bit integers on Unix or Linux then by default this Storable will refuse to read it, giving the error -I. If you have such data then you you +I. If you have such data then you should set C<$Storable::interwork_56_64bit> to a true value to make this Storable read and write files with the old header. You should also migrate your data, or any older perl you are communicating with, to this -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0033-typo-fixes-for-Math-BigRat.patch ```diff From 93db6a626bac72490491b7f055536f15c82c9b24 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:16:57 -0400 Subject: [PATCH 33/58] typo fixes for Math::BigRat --- dist/Math-BigRat/lib/Math/BigRat.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/Math-BigRat/lib/Math/BigRat.pm b/dist/Math-BigRat/lib/Math/BigRat.pm index a70a429..9723dee 100644 --- a/dist/Math-BigRat/lib/Math/BigRat.pm +++ b/dist/Math-BigRat/lib/Math/BigRat.pm @@ -258,7 +258,7 @@ sub new if ($n->{sign} =~ /^[+-]$/ && $d->{sign} =~ /^[+-]$/) { - # both parts are ok as integers (wierd things like ' 1e0' + # both parts are ok as integers (weird things like ' 1e0' $self->{_n} = $MBI->_copy($n->{value}); $self->{_d} = $MBI->_copy($d->{value}); $self->{sign} = $n->{sign}; @@ -446,7 +446,7 @@ sub bneg return $x if $x->modify('bneg'); - # for +0 dont negate (to have always normalized +0). Does nothing for 'NaN' + # for +0 don't negate (to have always normalized +0). Does nothing for 'NaN' $x->{sign} =~ tr/+-/-+/ unless ($x->{sign} eq '+' && $MBI->_is_zero($x->{_n})); $x; } @@ -1271,7 +1271,7 @@ sub bsqrt $x->{_n} = _float_from_part( $x->{_n} )->bsqrt(); $x->{_d} = _float_from_part( $x->{_d} )->bsqrt(); - # XXX TODO: we probably can optimze this: + # XXX TODO: we probably can optimize this: # if sqrt(D) was not integer if ($x->{_d}->{_es} ne '+') -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0034-typo-fix-for-Module-CoreList.patch ```diff From bf4dad15270dfb071fb79028aefb78def94a7c78 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:17:21 -0400 Subject: [PATCH 34/58] typo fix for Module::CoreList --- dist/Module-CoreList/lib/Module/CoreList.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/Module-CoreList/lib/Module/CoreList.pod b/dist/Module-CoreList/lib/Module/CoreList.pod index b98a1b3..1a47d32 100644 --- a/dist/Module-CoreList/lib/Module/CoreList.pod +++ b/dist/Module-CoreList/lib/Module/CoreList.pod @@ -111,7 +111,7 @@ The keys are library names and the values are hashrefs. Each hashref has an entry for one or both of C and C, giving the versions of the library in each of the left and right perl distributions. -For example, it might return these data (among others) for the the difference +For example, it might return these data (among others) for the difference between 5.008000 and 5.008001: 'Pod::ParseLink' => { left => '1.05', right => '1.06' }, -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0035-typo-fixes-for-Term-ReadLine.patch ```diff From 166c1a95e5c4f93c6912911ebca8fc4e17d16b84 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:17:53 -0400 Subject: [PATCH 35/58] typo fixes for Term::ReadLine --- dist/Term-ReadLine/lib/Term/ReadLine.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/Term-ReadLine/lib/Term/ReadLine.pm b/dist/Term-ReadLine/lib/Term/ReadLine.pm index 1aa19d3..ebf4c94 100644 --- a/dist/Term-ReadLine/lib/Term/ReadLine.pm +++ b/dist/Term-ReadLine/lib/Term/ReadLine.pm @@ -203,7 +203,7 @@ use strict; package Term::ReadLine::Stub; our @ISA = qw'Term::ReadLine::Tk Term::ReadLine::TermCap'; -$DB::emacs = $DB::emacs; # To peacify -w +$DB::emacs = $DB::emacs; # To pacify -w our @rl_term_set; *rl_term_set = \@Term::ReadLine::TermCap::rl_term_set; @@ -223,7 +223,7 @@ sub readline { if (${^UNICODE} & PERL_UNICODE_STDIN || defined ${^ENCODING}) && utf8::valid($str); print $out $rl_term_set[3]; - # bug in 5.000: chomping empty string creats length -1: + # bug in 5.000: chomping empty string creates length -1: chomp $str if defined $str; $str; } @@ -469,7 +469,7 @@ sub get_line { if (${^UNICODE} & PERL_UNICODE_STDIN || defined ${^ENCODING}) && utf8::valid($str); print $out $rl_term_set[3]; - # bug in 5.000: chomping empty string creats length -1: + # bug in 5.000: chomping empty string creates length -1: chomp $str if defined $str; $str; -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0036-typo-fixes-for-Tie-File.patch ```diff From c6ae1c4a9cc93727f21542a22b217efd20d67bf6 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:18:21 -0400 Subject: [PATCH 36/58] typo fixes for Tie::File --- dist/Tie-File/lib/Tie/File.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/Tie-File/lib/Tie/File.pm b/dist/Tie-File/lib/Tie/File.pm index a288218..ae0f5a4 100644 --- a/dist/Tie-File/lib/Tie/File.pm +++ b/dist/Tie-File/lib/Tie/File.pm @@ -656,7 +656,7 @@ sub _mtwrite { if (@_) { $unwritten = $self->_downcopy($data, $end, $_[1] - $end); } else { - # Make the file longer to accommodate the last segment that doesn' + # Make the file longer to accommodate the last segment that doesn't $unwritten = $self->_downcopy($data, $end); } } @@ -1921,7 +1921,7 @@ sub set_val { return $oval; } -# The hask key has changed for an item; +# The hash key has changed for an item; # alter the heap's record of the hash key sub rekey { my ($self, $n, $new_key) = @_; -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0037-typo-fixes-for-File-DosGlob.patch ```diff From 6b974c5c2b5c56f222ebef4888698a99fd1d29c1 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:22:30 -0400 Subject: [PATCH 37/58] typo fixes for File::DosGlob --- ext/File-DosGlob/lib/File/DosGlob.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/File-DosGlob/lib/File/DosGlob.pm b/ext/File-DosGlob/lib/File/DosGlob.pm index c90bebb..8304a5f 100644 --- a/ext/File-DosGlob/lib/File/DosGlob.pm +++ b/ext/File-DosGlob/lib/File/DosGlob.pm @@ -156,7 +156,7 @@ sub glob { } #print "Sould have "GOT" vs "Got"!\n"; #FIXME: There should be checking for this. - # How or what should be done about failure is beond me. + # How or what should be done about failure is beyond me. } if ( $#appendpat != -1 ) { @@ -257,7 +257,7 @@ glob() =head1 BUGS Should probably be built into the core, and needs to stop -pandering to DOS habits. Needs a dose of optimizium too. +pandering to DOS habits. Needs a dose of optimization too. =head1 AUTHOR -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0038-typo-fix-for-Hash-Util-FieldHash.patch ```diff From c8b0fdf3256fc460b44aacfc085e2e0bd7fa7446 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:23:10 -0400 Subject: [PATCH 38/58] typo fix for Hash::Util::FieldHash --- ext/Hash-Util-FieldHash/lib/Hash/Util/FieldHash.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/Hash-Util-FieldHash/lib/Hash/Util/FieldHash.pm b/ext/Hash-Util-FieldHash/lib/Hash/Util/FieldHash.pm index 4f833ff..59431e7 100644 --- a/ext/Hash-Util-FieldHash/lib/Hash/Util/FieldHash.pm +++ b/ext/Hash-Util-FieldHash/lib/Hash/Util/FieldHash.pm @@ -323,7 +323,7 @@ make things work, but the functions or methods used by the hooks must be provided by each inside-out class. A general solution to the serialization problem would require another -level of registry, one that that associates I and fields. +level of registry, one that associates I and fields. So far, the functions of C are unaware of any classes, which I consider a feature. Therefore C doesn't address the serialization problems. -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0039-typo-fix-for-IPC-Open3.patch ```diff From db277dcbfeda74bab39381513e6ad1cffada9269 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:23:33 -0400 Subject: [PATCH 39/58] typo fix for IPC::Open3 --- ext/IPC-Open3/lib/IPC/Open3.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/IPC-Open3/lib/IPC/Open3.pm b/ext/IPC-Open3/lib/IPC/Open3.pm index 29612af..192d150 100644 --- a/ext/IPC-Open3/lib/IPC/Open3.pm +++ b/ext/IPC-Open3/lib/IPC/Open3.pm @@ -98,7 +98,7 @@ C and continually read and write a line from it. =item L -Like Open3 but without STDERR catpure. +Like Open3 but without STDERR capture. =item L -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0040-typo-fix-for-mro.patch ```diff From 69539aa2e30e1f12319faf13970035122e380f7c Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:23:48 -0400 Subject: [PATCH 40/58] typo fix for mro --- ext/mro/mro.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/mro/mro.pm b/ext/mro/mro.pm index 3ca6460..b3d4b9d 100644 --- a/ext/mro/mro.pm +++ b/ext/mro/mro.pm @@ -202,7 +202,7 @@ This integer normally starts off at a value of C<1> when a package stash is instantiated. Calling it on packages whose stashes do not exist at all will return C<0>. If a package stash is completely -deleted (not a normal occurence, but it can happen +deleted (not a normal occurrence, but it can happen if someone does something like C), the number will be reset to either C<0> or C<1>, depending on how completely package was wiped out. -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0041-typo-fix-for-re.patch ```diff From 38b64d33d056dec4f79df60a9b3447c514c5b48b Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:24:00 -0400 Subject: [PATCH 41/58] typo fix for re --- ext/re/re.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/re/re.pm b/ext/re/re.pm index 84b7011..684889e 100644 --- a/ext/re/re.pm +++ b/ext/re/re.pm @@ -570,7 +570,7 @@ results in Because the C is before the C<.*> in the pattern, its position can be determined exactly. That's not true, however, for the C; it could appear at any point after where the anchored string appeared. -Perl uses both for its optimisations, prefering the longer, or, if they are +Perl uses both for its optimisations, preferring the longer, or, if they are equal, the floating. B This may not necessarily be the definitive longest anchored and -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0042-making-the-BSD-in-bsdish-stand-out-for-Sys-Hostname.patch ```diff From 679d83312507187101cdbd6e3818cbfd979b9a02 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:24:55 -0400 Subject: [PATCH 42/58] making the BSD in bsdish stand out for Sys::Hostname --- ext/Sys-Hostname/Hostname.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/Sys-Hostname/Hostname.pm b/ext/Sys-Hostname/Hostname.pm index 4893f6a..191754b 100644 --- a/ext/Sys-Hostname/Hostname.pm +++ b/ext/Sys-Hostname/Hostname.pm @@ -92,7 +92,7 @@ sub hostname { || eval { local $SIG{__DIE__}; local $SIG{CHLD}; - $host = `(hostname) 2>/dev/null`; # bsdish + $host = `(hostname) 2>/dev/null`; # BSDish } # method 4 - use POSIX::uname(), which strictly can't be expected to be -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0043-typo-fix-for-XS-APItest.patch ```diff From 25b265018253b5ca614239e1b239fa943d7fb26f Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:25:14 -0400 Subject: [PATCH 43/58] typo fix for XS::APItest --- ext/XS-APItest/APItest.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/XS-APItest/APItest.pm b/ext/XS-APItest/APItest.pm index 410477a..9a05457 100644 --- a/ext/XS-APItest/APItest.pm +++ b/ext/XS-APItest/APItest.pm @@ -222,7 +222,7 @@ what it might be medifying). =item B, B, B These exercise the C calls of the same names. Everything after the flags -arg is passed as the the args to the called function. They return whatever +arg is passed as the args to the called function. They return whatever the C function itself pushed onto the stack, plus the return value from the function; for example -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0044-typo-fixes-for-delta-pods.patch ```diff From 24116603586fbbff3b7bfe5fff8250834a043d4a Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:26:05 -0400 Subject: [PATCH 44/58] typo fixes for delta pods --- pod/perl5120delta.pod | 4 ++-- pod/perl5121delta.pod | 2 +- pod/perl5180delta.pod | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pod/perl5120delta.pod b/pod/perl5120delta.pod index 6cbfb7a..b8bd646 100644 --- a/pod/perl5120delta.pod +++ b/pod/perl5120delta.pod @@ -279,7 +279,7 @@ functions to check a scalar against these rules. =head2 @INC reorganization -In C<@INC>, C and C now occur after after the current +In C<@INC>, C and C now occur after the current version's C and C. Modules installed into C and C will now be loaded in preference to those installed in C and C. @@ -743,7 +743,7 @@ the most widely used are the soft hyphen (U+00AD), and BOM, ZWSP, ZWNJ, WJ, and similar characters, plus bidirectional controls. C<\p{Alpha}> now matches the same characters as C<\p{Alphabetic}>. Before -5.12, Perl's definition definition included a number of things that aren't +5.12, Perl's definition included a number of things that aren't really alpha (all marks) while omitting many that were. The definitions of C<\p{Alnum}> and C<\p{Word}> depend on Alpha's definition and have changed accordingly. diff --git a/pod/perl5121delta.pod b/pod/perl5121delta.pod index a999f14..f1d8759 100644 --- a/pod/perl5121delta.pod +++ b/pod/perl5121delta.pod @@ -91,7 +91,7 @@ We updated the Github mirror link in L to mirrors/perl, not gith =item * -We fixed a a minor error in L. +We fixed a minor error in L. =item * diff --git a/pod/perl5180delta.pod b/pod/perl5180delta.pod index cc9d4cb..aa244dc 100644 --- a/pod/perl5180delta.pod +++ b/pod/perl5180delta.pod @@ -112,7 +112,7 @@ Repeated runs of the same program should produce the same output every time. C implies a non-default C setting. Setting C (exactly one 0) implies C (hash key -randomization disabled); settng C to any other value implies +randomization disabled); setting C to any other value implies C (deterministic and repeatable hash key randomization). Specifying C explicitly to a different level overrides this behavior. @@ -1908,7 +1908,7 @@ may need to install the hopping module) (@INC contains: ...)" L -This warning was not suppressable, even with C. Now it is +This warning was not suppressible, even with C. Now it is suppressible, and has been moved from the "internal" category to the "printf" category. -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0045-making-DOS-stand-out-in-dosish-for-58-delta-pod.patch ```diff From 6ca9b7ecd6bf15824a9a247d06e6c0c127476885 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:26:41 -0400 Subject: [PATCH 45/58] making DOS stand out in dosish for 58 delta pod --- pod/perl58delta.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pod/perl58delta.pod b/pod/perl58delta.pod index 931b2a7..8b81d4c 100644 --- a/pod/perl58delta.pod +++ b/pod/perl58delta.pod @@ -1407,7 +1407,7 @@ use/require work. =item * -In SDBM_File on dosish platforms, some keys went missing because of +In SDBM_File on DOSish platforms, some keys went missing because of lack of support for files with "holes". A workaround for the problem has been added. -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0046-typo-fix-for-dtrace-pod.patch ```diff From db5c478b22681dca13dad0524a4597dd90bfe5b7 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:27:22 -0400 Subject: [PATCH 46/58] typo fix for dtrace pod --- pod/perldtrace.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pod/perldtrace.pod b/pod/perldtrace.pod index 0aeb268..c042ad2 100644 --- a/pod/perldtrace.pod +++ b/pod/perldtrace.pod @@ -127,7 +127,7 @@ paths instead of providing C-style names. Fires when Perl has successfully loaded an individual file, whether from C, C, or C. This probe fires after the file -is read from disk and its contentss evaluated. The filename argument +is read from disk and its contents evaluated. The filename argument is converted to local filesystem paths instead of providing C-style names. -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0047-typo-fix-for-ebcdic-pod.patch ```diff From da0e140db044f173091f8294cd020a2cef461e75 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:27:51 -0400 Subject: [PATCH 47/58] typo fix for ebcdic pod --- pod/perlebcdic.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pod/perlebcdic.pod b/pod/perlebcdic.pod index 2256fb1..72fd0e0 100644 --- a/pod/perlebcdic.pod +++ b/pod/perlebcdic.pod @@ -240,7 +240,7 @@ extensions to ASCII have been labelled with character names roughly corresponding to I albeit with substitutions such as s/LATIN// and s/VULGAR// in all cases, s/CAPITAL LETTER// in some cases, and s/SMALL LETTER ([A-Z])/\l$1/ in some other -cases. Controls are listed using their Unicode 6.1 abbreviatons. +cases. Controls are listed using their Unicode 6.1 abbreviations. The differences between the 0037 and 1047 sets are flagged with **. The differences between the 1047 and POSIX-BC sets are flagged with ##. All ord() numbers listed are decimal. If you -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0048-typo-fix-for-obj-pod.patch ```diff From 4432aca162dcbb8e57652e376a5db2907bc3291a Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:28:36 -0400 Subject: [PATCH 48/58] typo fix for obj pod --- pod/perlobj.pod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pod/perlobj.pod b/pod/perlobj.pod index 34a5332..61e636b 100644 --- a/pod/perlobj.pod +++ b/pod/perlobj.pod @@ -131,7 +131,7 @@ documented methods on the object. Note, however, that (unlike most other OO languages) Perl does not ensure or enforce encapsulation in any way. If you want objects to actually I opaque you need to arrange for that yourself. This can -be done in a varierty of ways, including using L<"Inside-Out objects"> +be done in a variety of ways, including using L<"Inside-Out objects"> or modules from CPAN. =head3 Objects Are Blessed; Variables Are Not @@ -688,7 +688,7 @@ X B -Perl suports another method invocation syntax called "indirect object" +Perl supports another method invocation syntax called "indirect object" notation. This syntax is called "indirect" because the method comes before the object it is being invoked on. -- 1.7.10.2 (Apple Git-33) ```
p5pRT commented 10 years ago

From dsteinbrunner@pobox.com

0049-typo-fix-for-reapi-pod.patch ```diff From 10ed1ced77c85a9da8a9dd2398d8d4906a5ae192 Mon Sep 17 00:00:00 2001 From: David Steinbrunner Date: Tue, 21 May 2013 07:29:06 -0400 Subject: [PATCH 49/58] typo fix for reapi pod --- pod/perlreapi.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pod/perlreapi.pod b/pod/perlreapi.pod index eaaa179..3d0962a 100644 --- a/pod/perlreapi.pod +++ b/pod/perlreapi.pod @@ -226,7 +226,7 @@ faster than C. =item RXf_NO_INPLACE_SUBST Added in perl 5.18.0, this flag indicates that a regular expression might -perform an operation that would interfere with inplace substituion. For +perform an operation that would interfere with inplace substitution. For instance it might contain lookbehind, or assign to non-magical variables (such as $REGMARK and $REGERROR) during matching. C will skip certain optimisations when this is set. -- 1.7.10.2 (Apple Git-33) ```