summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-01-24 14:41:02 -0700
committerKarl Williamson <public@khwilliamson.com>2013-01-24 19:04:48 -0700
commitf703fc96a75eab3db924e41a52531905784836de (patch)
tree3e1d1202c4d1a4efaa959f0af21a57e7babfcacd
parente58c5aaf5fae1951e56c0433da91fbbfb31b620c (diff)
downloadperl-f703fc96a75eab3db924e41a52531905784836de.tar.gz
Fix various minor pod issues
These were all uncovered by the new Pod::Checker, not yet in core. Fixing these will speed up debugging the new Checker.
-rw-r--r--Porting/acknowledgements.pl2
-rw-r--r--Porting/pumpkin.pod8
-rwxr-xr-xPorting/sync-with-cpan2
-rw-r--r--Porting/todo.pod4
-rw-r--r--README.cygwin2
-rw-r--r--README.haiku2
-rw-r--r--av.c2
-rw-r--r--dist/Attribute-Handlers/lib/Attribute/Handlers.pm18
-rw-r--r--dist/ExtUtils-Install/lib/ExtUtils/Installed.pm4
-rw-r--r--dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm6
-rw-r--r--dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm10
-rw-r--r--dist/ExtUtils-ParseXS/lib/perlxstypemap.pod8
-rw-r--r--dist/Filter-Simple/lib/Filter/Simple.pm16
-rw-r--r--dist/Locale-Maketext/lib/Locale/Maketext.pod14
-rw-r--r--dist/Math-BigInt/lib/Math/BigInt.pm4
-rw-r--r--dist/SelfLoader/lib/SelfLoader.pm18
-rw-r--r--dist/bignum/lib/bigint.pm6
-rw-r--r--dist/bignum/lib/bignum.pm4
-rw-r--r--ext/POSIX/lib/POSIX.pod2
-rw-r--r--ext/arybase/arybase.pm6
-rw-r--r--lib/DBM_Filter.pm4
-rw-r--r--lib/Unicode/UCD.pm6
-rw-r--r--lib/filetest.pm4
-rw-r--r--lib/overload.pm4
-rw-r--r--lib/perl5db.pl4
-rw-r--r--make_patchnum.pl2
-rw-r--r--os2/OS2/OS2-ExtAttr/ExtAttr.pm4
-rw-r--r--os2/OS2/OS2-Process/Process.pm4
-rw-r--r--os2/OS2/OS2-REXX/DLL/DLL.pm4
-rw-r--r--pod/perldiag.pod2
-rw-r--r--pod/perlfunc.pod22
-rw-r--r--pod/perlgpl.pod100
-rw-r--r--pod/perlguts.pod2
-rw-r--r--pod/perlintro.pod2
-rw-r--r--pod/perlmodinstall.pod2
-rw-r--r--pod/perlop.pod4
-rw-r--r--pod/perlpod.pod4
-rw-r--r--pod/perlpragma.pod26
-rw-r--r--t/porting/known_pod_issues.dat3
-rw-r--r--win32/bin/pl2bat.pl10
-rw-r--r--win32/bin/runperl.pl4
-rw-r--r--x2p/a2p.pod2
42 files changed, 176 insertions, 181 deletions
diff --git a/Porting/acknowledgements.pl b/Porting/acknowledgements.pl
index 3e388c9a2d..20941092cc 100644
--- a/Porting/acknowledgements.pl
+++ b/Porting/acknowledgements.pl
@@ -7,7 +7,7 @@ Porting/acknowledgements.pl - Generate perldelta acknowledgements text
=head1 SYNOPSIS
perl Porting/acknowledgements.pl v5.15.0..HEAD
-
+
=head1 DESCRIPTION
This generates the text which goes in the Acknowledgements section in
diff --git a/Porting/pumpkin.pod b/Porting/pumpkin.pod
index 1f289f74fa..8afc720562 100644
--- a/Porting/pumpkin.pod
+++ b/Porting/pumpkin.pod
@@ -1205,14 +1205,14 @@ function.
/* Beginning of modification history */
/* Written 02-01-02 by Nick Ing-Simmons (nick@ing-simmons.net) */
/* End of modification history */
-
+
/* VOS doesn't supply a truncate function, so we build one up
from the available POSIX functions. */
-
+
#include <fcntl.h>
#include <sys/types.h>
#include <unistd.h>
-
+
int
truncate(const char *path, off_t len)
{
@@ -1250,7 +1250,7 @@ not "vos.c".
# VOS does not have truncate() but we supply one in vos.c
d_truncate="define"
archobjs="vos.o"
-
+
# Help gmake find vos.c
test -h vos.c || ln -s vos/vos.c vos.c
diff --git a/Porting/sync-with-cpan b/Porting/sync-with-cpan
index b90612fb67..b6ee246407 100755
--- a/Porting/sync-with-cpan
+++ b/Porting/sync-with-cpan
@@ -2,7 +2,7 @@
=head1 NAME
-Porting/sync-with-cpan
+Porting/sync-with-cpan - Synchronize with CPAN distributions
=head1 SYNOPSIS
diff --git a/Porting/todo.pod b/Porting/todo.pod
index 64f82676af..0b617d3ad2 100644
--- a/Porting/todo.pod
+++ b/Porting/todo.pod
@@ -1050,7 +1050,7 @@ This code
use warnings;
my $undef;
-
+
if ($undef == 3) {
} elsif ($undef == 0) {
}
@@ -1073,7 +1073,7 @@ most common and the most confusing). Ideally this code
use warnings;
my $undef;
-
+
my $a = $undef + 1;
my $b
= $undef
diff --git a/README.cygwin b/README.cygwin
index e8e0d980ce..b2ea7bd713 100644
--- a/README.cygwin
+++ b/README.cygwin
@@ -43,7 +43,7 @@ Perl usage.
B<NOTE:> The binaries that are built will run on all Win32 versions.
They do not depend on your host system (WinXP/Win2K/Win7) or your
Cygwin configuration (binary/text mounts, cvgserver).
-The only dependencies come from hard-coded pathnames like C</usr/local>.
+The only dependencies come from hard-coded pathnames like F</usr/local>.
However, your host system and Cygwin configuration will affect Perl's
runtime behavior (see L</"TEST">).
diff --git a/README.haiku b/README.haiku
index 80cdb109ef..e1b6ca8e77 100644
--- a/README.haiku
+++ b/README.haiku
@@ -45,7 +45,7 @@ Haiku yet.
=item *
A subtest of the F<ext/Sys/Syslog/t/syslog.t> test fails. This is due to Haiku
-not implementing C</dev/log> support yet.
+not implementing F</dev/log> support yet.
=item *
diff --git a/av.c b/av.c
index 366a8485a3..9f08212d0a 100644
--- a/av.c
+++ b/av.c
@@ -658,7 +658,7 @@ array. The array will grow automatically to accommodate the addition. You
must then use C<av_store> to assign values to these new elements.
Perl equivalent: C<unshift @myarray, ( (undef) x $n );>
-
+
=cut
*/
diff --git a/dist/Attribute-Handlers/lib/Attribute/Handlers.pm b/dist/Attribute-Handlers/lib/Attribute/Handlers.pm
index 36f6e2e81c..60ee32a59c 100644
--- a/dist/Attribute-Handlers/lib/Attribute/Handlers.pm
+++ b/dist/Attribute-Handlers/lib/Attribute/Handlers.pm
@@ -4,7 +4,7 @@ use Carp;
use warnings;
use strict;
use vars qw($VERSION $AUTOLOAD);
-$VERSION = '0.93'; # remember to update version in POD!
+$VERSION = '0.94'; # remember to update version in POD!
# $DB::single=1;
my %symcache;
@@ -366,7 +366,7 @@ Thereafter, any subroutine declared with a C<:Loud> attribute in the class
LoudDecl:
package LoudDecl;
-
+
sub foo: Loud {...}
causes the above handler to be invoked, and passed:
@@ -581,7 +581,7 @@ variables. For example:
use Attribute::Handlers;
use Tie::Cycle;
-
+
sub UNIVERSAL::Cycle : ATTR(SCALAR) {
my ($package, $symbol, $referent, $attr, $data, $phase) = @_;
$data = [ $data ] unless ref $data eq 'ARRAY';
@@ -591,9 +591,9 @@ variables. For example:
# and thereafter...
package main;
-
+
my $next : Cycle('A'..'Z'); # $next is now a tied variable
-
+
while (<>) {
print $next;
}
@@ -655,7 +655,7 @@ If the attribute name is unqualified, the attribute is installed in the
current package. Otherwise it is installed in the qualifier's package:
package Here;
-
+
use Attribute::Handlers autotie => {
Other::Good => Tie::SecureHash, # tie attr installed in Other::
Bad => Tie::Taxes, # tie attr installed in Here::
@@ -668,7 +668,7 @@ facilitate this, Attribute::Handlers recognizes a special "pseudo-class" --
C<__CALLER__>, which may be specified as the qualifier of an attribute:
package Tie::Me::Kangaroo:Down::Sport;
-
+
use Attribute::Handlers autotie =>
{ '__CALLER__::Roo' => __PACKAGE__ };
@@ -792,7 +792,7 @@ would cause the following handlers to be invoked:
# my %hsh :Good(q/bye) :Omni(q/bus/);
-
+
MyClass::Good:ATTR(HASH)( 'SomeOtherClass', # class
'LEXICAL', # no typeglob
\%hsh, # referent
@@ -800,7 +800,7 @@ would cause the following handlers to be invoked:
'q/bye' # raw attr data
'CHECK', # compiler phase
);
-
+
MyClass::Omni:ATTR(HASH)( 'SomeOtherClass', # class
'LEXICAL', # no typeglob
\%hsh, # referent
diff --git a/dist/ExtUtils-Install/lib/ExtUtils/Installed.pm b/dist/ExtUtils-Install/lib/ExtUtils/Installed.pm
index b4b7f7580f..c267d992e2 100644
--- a/dist/ExtUtils-Install/lib/ExtUtils/Installed.pm
+++ b/dist/ExtUtils-Install/lib/ExtUtils/Installed.pm
@@ -17,7 +17,7 @@ my $DOSISH = ($^O =~ /^(MSWin\d\d|os2|dos|mint)$/);
require VMS::Filespec if $Is_VMS;
use vars qw($VERSION);
-$VERSION = '1.999002';
+$VERSION = '1.999003';
$VERSION = eval $VERSION;
sub _is_prefix {
@@ -403,7 +403,7 @@ search for installed modules. For instance
my $installed =
ExtUtils::Installed->new(extra_libs=>["/my/lib/path"]);
-This should only be necessary if C</my/lib/path> is not in PERL5LIB.
+This should only be necessary if F</my/lib/path> is not in PERL5LIB.
Finally there is the 'default', and the related 'default_get' and 'default_set'
options. These options control the "default" object which is provided by the
diff --git a/dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm b/dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
index d0089f8c00..a847a14a40 100644
--- a/dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
+++ b/dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
@@ -6,7 +6,7 @@ use File::Spec;
use lib qw( lib );
use ExtUtils::ParseXS::Constants ();
-our $VERSION = '3.18';
+our $VERSION = '3.19';
our (@ISA, @EXPORT_OK);
@ISA = qw(Exporter);
@@ -286,7 +286,7 @@ Process all typemap files.
=item * Arguments
my $typemaps_object = process_typemaps( $args{typemap}, $pwd );
-
+
List of two elements: C<typemap> element from C<%args>; current working
directory.
@@ -335,7 +335,7 @@ C<process_typemaps()> with respect to its fourth output, C<$output_expr_ref>.
=item * Arguments
%targetable = make_targetable($output_expr_ref);
-
+
Single hash reference: the fourth such ref returned by C<process_typemaps()>.
=item * Return Value
diff --git a/dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm b/dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
index 2768ef0e08..b9a4358948 100644
--- a/dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
+++ b/dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
@@ -2,7 +2,7 @@ package ExtUtils::Typemaps;
use 5.006001;
use strict;
use warnings;
-our $VERSION = '3.18';
+our $VERSION = '3.19';
#use Carp qw(croak);
require ExtUtils::ParseXS;
@@ -23,7 +23,7 @@ ExtUtils::Typemaps - Read/Write/Modify Perl/XS typemap files
# $typemap = ExtUtils::Typemaps->new();
# alternatively create an in-memory typemap by parsing a string
# $typemap = ExtUtils::Typemaps->new(string => $sometypemap);
-
+
# add a mapping
$typemap->add_typemap(ctype => 'NV', xstype => 'T_NV');
$typemap->add_inputmap(
@@ -34,13 +34,13 @@ ExtUtils::Typemaps - Read/Write/Modify Perl/XS typemap files
);
$typemap->add_string(string => $typemapstring);
# will be parsed and merged
-
+
# remove a mapping (same for remove_typemap and remove_outputmap...)
$typemap->remove_inputmap(xstype => 'SomeType');
-
+
# save a typemap to a file
$typemap->write(file => 'anotherfile.map');
-
+
# merge the other typemap into this one
$typemap->merge(typemap => $another_typemap);
diff --git a/dist/ExtUtils-ParseXS/lib/perlxstypemap.pod b/dist/ExtUtils-ParseXS/lib/perlxstypemap.pod
index 67ddadefef..94bd037e34 100644
--- a/dist/ExtUtils-ParseXS/lib/perlxstypemap.pod
+++ b/dist/ExtUtils-ParseXS/lib/perlxstypemap.pod
@@ -95,11 +95,11 @@ strings of the C<char *> type to Perl scalars/strings:
TYPEMAP
char * T_PV
-
+
INPUT
T_PV
$var = ($type)SvPV_nolen($arg)
-
+
OUTPUT
T_PV
sv_setpv((SV*)$arg, $var);
@@ -117,7 +117,7 @@ that type:
TYPEMAP
Net_Config T_PTROBJ_SPECIAL
-
+
INPUT
T_PTROBJ_SPECIAL
if (sv_derived_from($arg, \"${(my $ntt=$ntype)=~s/_/::/g;\$ntt}\")){
@@ -126,7 +126,7 @@ that type:
}
else
croak(\"$var is not of type ${(my $ntt=$ntype)=~s/_/::/g;\$ntt}\")
-
+
OUTPUT
T_PTROBJ_SPECIAL
sv_setref_pv($arg, \"${(my $ntt=$ntype)=~s/_/::/g;\$ntt}\",
diff --git a/dist/Filter-Simple/lib/Filter/Simple.pm b/dist/Filter-Simple/lib/Filter/Simple.pm
index b0068037f3..5de131fec2 100644
--- a/dist/Filter-Simple/lib/Filter/Simple.pm
+++ b/dist/Filter-Simple/lib/Filter/Simple.pm
@@ -4,7 +4,7 @@ use Text::Balanced ':ALL';
use vars qw{ $VERSION @EXPORT };
-$VERSION = '0.88';
+$VERSION = '0.89';
use Filter::Util::Call;
use Carp;
@@ -251,7 +251,7 @@ Filter::Simple - Simplified source filtering
package MyFilter;
use Filter::Simple;
-
+
FILTER { ... };
# or just:
@@ -338,7 +338,7 @@ to the sequence C<die 'BANG' if $BANG> in any piece of code following a
C<use BANG;> statement (until the next C<no BANG;> statement, if any):
package BANG;
-
+
use Filter::Util::Call ;
sub import {
@@ -403,7 +403,7 @@ In other words, the previous example, would become:
package BANG;
use Filter::Simple;
-
+
FILTER {
s/BANG\s+BANG/die 'BANG' if \$BANG/g;
};
@@ -447,7 +447,7 @@ you would write:
package BANG;
use Filter::Simple;
-
+
FILTER {
s/BANG\s+BANG/die 'BANG' if \$BANG/g;
}
@@ -464,7 +464,7 @@ and to prevent the filter's being turned off in any way:
package BANG;
use Filter::Simple;
-
+
FILTER {
s/BANG\s+BANG/die 'BANG' if \$BANG/g;
}
@@ -761,9 +761,9 @@ list to the filtering subroutine, so the BANG.pm filter could easily
be made parametric:
package BANG;
-
+
use Filter::Simple;
-
+
FILTER {
my ($die_msg, $var_name) = @_;
s/BANG\s+BANG/die '$die_msg' if \${$var_name}/g;
diff --git a/dist/Locale-Maketext/lib/Locale/Maketext.pod b/dist/Locale-Maketext/lib/Locale/Maketext.pod
index 3ef9c3a5a9..de2ad0d072 100644
--- a/dist/Locale-Maketext/lib/Locale/Maketext.pod
+++ b/dist/Locale-Maketext/lib/Locale/Maketext.pod
@@ -443,10 +443,6 @@ B<Remember: Don't be afraid to read the Maketext source if there's
any point on which this documentation is unclear.> This documentation
is vastly longer than the module source itself.
-=over
-
-=back
-
=head1 LANGUAGE CLASS HIERARCHIES
These are Locale::Maketext's assumptions about the class
@@ -699,7 +695,7 @@ it's basically turned into:
")!\n",
}
# to be called by $lh->maketext(KEY, params...)
-
+
In other words, text outside bracket groups is turned into string
literals. Text in brackets is rather more complex, and currently follows
these rules:
@@ -999,10 +995,10 @@ The "fail" attribute can be accessed with the C<fail_with> method:
# Set to a method name:
$lh->fail_with( 'failure_method' );
-
+
# Set to nothing (i.e., so failure throws a plain exception)
$lh->fail_with( undef );
-
+
# Get the current value
$handler = $lh->fail_with();
@@ -1115,10 +1111,10 @@ consisting minimally of:
package Projname::L10N;
use base qw(Locale::Maketext);
...any methods you might want all your languages to share...
-
+
# And, assuming you want the base class to be an _AUTO lexicon,
# as is discussed a few sections up:
-
+
1;
=item *
diff --git a/dist/Math-BigInt/lib/Math/BigInt.pm b/dist/Math-BigInt/lib/Math/BigInt.pm
index 3f55c9b551..9082a35b92 100644
--- a/dist/Math-BigInt/lib/Math/BigInt.pm
+++ b/dist/Math-BigInt/lib/Math/BigInt.pm
@@ -18,7 +18,7 @@ package Math::BigInt;
my $class = "Math::BigInt";
use 5.006002;
-$VERSION = '1.998';
+$VERSION = '1.999';
@ISA = qw(Exporter);
@EXPORT_OK = qw(objectify bgcd blcm);
@@ -5251,7 +5251,7 @@ With overloaded math, only the first two variants will result in a BigFloat:
use Math::BigInt;
use Math::BigFloat;
-
+
$mbf = Math::BigFloat->new(5);
$mbi2 = Math::BigInteger->new(5);
$mbi = Math::BigInteger->new(2);
diff --git a/dist/SelfLoader/lib/SelfLoader.pm b/dist/SelfLoader/lib/SelfLoader.pm
index 03d4ce01b0..53a0dbfcab 100644
--- a/dist/SelfLoader/lib/SelfLoader.pm
+++ b/dist/SelfLoader/lib/SelfLoader.pm
@@ -2,7 +2,7 @@ package SelfLoader;
use 5.008;
use strict;
use IO::Handle;
-our $VERSION = "1.20";
+our $VERSION = "1.21";
# The following bit of eval-magic is necessary to make this work on
# perls < 5.009005.
@@ -386,32 +386,32 @@ This package has the same copyright and license as the perl core:
Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999,
2000, 2001, 2002, 2003, 2004, 2005, 2006 by Larry Wall and others
-
+
All rights reserved.
-
+
This program is free software; you can redistribute it and/or modify
it under the terms of either:
-
+
a) the GNU General Public License as published by the Free
Software Foundation; either version 1, or (at your option) any
later version, or
-
+
b) the "Artistic License" which comes with this Kit.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either
the GNU General Public License or the Artistic License for more details.
-
+
You should have received a copy of the Artistic License with this
Kit, in the file named "Artistic". If not, I'll be glad to provide one.
-
+
You should also have received a copy of the GNU General Public License
along with this program in the file named "Copying". If not, write to the
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
MA 02110-1301, USA or visit their web page on the internet at
http://www.gnu.org/copyleft/gpl.html.
-
+
For those of you that choose to use the GNU General Public License,
my interpretation of the GNU General Public License is that no Perl
script falls under the terms of the GPL unless you explicitly put
diff --git a/dist/bignum/lib/bigint.pm b/dist/bignum/lib/bigint.pm
index 467a67d167..6bd69dbfe4 100644
--- a/dist/bignum/lib/bigint.pm
+++ b/dist/bignum/lib/bigint.pm
@@ -1,7 +1,7 @@
package bigint;
use 5.006;
-$VERSION = '0.31';
+$VERSION = '0.32';
use Exporter;
@ISA = qw( Exporter );
@EXPORT_OK = qw( PI e bpi bexp hex oct );
@@ -367,7 +367,7 @@ return value of subroutines:
sub three_integer { use integer; return 3.2; }
sub three_bigint { use bigint; return 3.2; }
-
+
print three_integer(), " ", three_bigint(),"\n"; # prints "3.2 3"
=head2 Options
@@ -654,7 +654,7 @@ The following modules are currently used by bigint:
Some cool command line examples to impress the Python crowd ;) You might want
to compare them to the results under -Mbignum or -Mbigrat:
-
+
perl -Mbigint -le 'print sqrt(33)'
perl -Mbigint -le 'print 2*255'
perl -Mbigint -le 'print 4.5+2*255'
diff --git a/dist/bignum/lib/bignum.pm b/dist/bignum/lib/bignum.pm
index 8b05dc9b02..14b45e4c29 100644
--- a/dist/bignum/lib/bignum.pm
+++ b/dist/bignum/lib/bignum.pm
@@ -1,7 +1,7 @@
package bignum;
use 5.006;
-$VERSION = '0.31';
+$VERSION = '0.32';
use Exporter;
@ISA = qw( bigint );
@EXPORT_OK = qw( PI e bexp bpi hex oct );
@@ -619,7 +619,7 @@ The following modules are currently used by bignum:
=head1 EXAMPLES
Some cool command line examples to impress the Python crowd ;)
-
+
perl -Mbignum -le 'print sqrt(33)'
perl -Mbignum -le 'print 2*255'
perl -Mbignum -le 'print 4.5+2*255'
diff --git a/ext/POSIX/lib/POSIX.pod b/ext/POSIX/lib/POSIX.pod
index f4de4c7718..7141b873f7 100644
--- a/ext/POSIX/lib/POSIX.pod
+++ b/ext/POSIX/lib/POSIX.pod
@@ -412,7 +412,7 @@ Retrieves the value of a configurable limit on a file or directory. This
uses file descriptors such as those obtained by calling C<POSIX::open>.
The following will determine the maximum length of the longest allowable
-pathname on the filesystem which holds C</var/foo>.
+pathname on the filesystem which holds F</var/foo>.
$fd = POSIX::open( "/var/foo", &POSIX::O_RDONLY );
$path_max = POSIX::fpathconf( $fd, &POSIX::_PC_PATH_MAX );
diff --git a/ext/arybase/arybase.pm b/ext/arybase/arybase.pm
index 1008684989..7181748a31 100644
--- a/ext/arybase/arybase.pm
+++ b/ext/arybase/arybase.pm
@@ -1,6 +1,6 @@
package arybase;
-our $VERSION = "0.05";
+our $VERSION = "0.06";
require XSLoader;
XSLoader::load(); # This returns true, which makes require happy.
@@ -14,7 +14,7 @@ arybase - Set indexing base via $[
=head1 SYNOPSIS
$[ = 1;
-
+
@a = qw(Sun Mon Tue Wed Thu Fri Sat);
print $a[3], "\n"; # prints Tue
@@ -44,7 +44,7 @@ It affects the following operations:
splice @array, $index, ...
each @array
keys @array
-
+
index $string, $substring # return value is affected
pos $string
substr $string, $offset, ...
diff --git a/lib/DBM_Filter.pm b/lib/DBM_Filter.pm
index a5f4a17fd5..3421848eca 100644
--- a/lib/DBM_Filter.pm
+++ b/lib/DBM_Filter.pm
@@ -2,7 +2,7 @@ package DBM_Filter ;
use strict;
use warnings;
-our $VERSION = '0.04';
+our $VERSION = '0.05';
package Tie::Hash ;
@@ -247,7 +247,7 @@ DBM_Filter -- Filter DBM keys/values
$db->Filtered();
package DBM_Filter::my_filter1;
-
+
sub Store { ... }
sub Fetch { ... }
diff --git a/lib/Unicode/UCD.pm b/lib/Unicode/UCD.pm
index 02023a79ae..414acf7701 100644
--- a/lib/Unicode/UCD.pm
+++ b/lib/Unicode/UCD.pm
@@ -5,7 +5,7 @@ use warnings;
no warnings 'surrogate'; # surrogates can be inputs to this
use charnames ();
-our $VERSION = '0.47';
+our $VERSION = '0.48';
require Exporter;
@@ -1006,12 +1006,12 @@ dotless lowercase i:
=over
-=item B<*> If you use this C<I> mapping
+=item Z<>B<*> If you use this C<I> mapping
the result is case-insensitive,
but dotless and dotted I's are not distinguished
-=item B<*> If you exclude this C<I> mapping
+=item Z<>B<*> If you exclude this C<I> mapping
the result is not fully case-insensitive, but
dotless and dotted I's are distinguished
diff --git a/lib/filetest.pm b/lib/filetest.pm
index b08f1dc910..a4049832e6 100644
--- a/lib/filetest.pm
+++ b/lib/filetest.pm
@@ -1,6 +1,6 @@
package filetest;
-our $VERSION = '1.02';
+our $VERSION = '1.03';
=head1 NAME
@@ -71,7 +71,7 @@ of the operators is a filename, not when it is a filehandle.
Because access() does not invoke stat() (at least not in a way visible
to Perl), B<the stat result cache "_" is not set>. This means that the
outcome of the following two tests is different. The first has the stat
-bits of C</etc/passwd> in C<_>, and in the second case this still
+bits of F</etc/passwd> in C<_>, and in the second case this still
contains the bits of C</etc>.
{ -d '/etc';
diff --git a/lib/overload.pm b/lib/overload.pm
index deb0b1a0f2..ce339cd037 100644
--- a/lib/overload.pm
+++ b/lib/overload.pm
@@ -1,6 +1,6 @@
package overload;
-our $VERSION = '1.20';
+our $VERSION = '1.21';
%ops = (
with_assign => "+ - * / % ** << >> x .",
@@ -1231,7 +1231,7 @@ Put this in F<symbolic.pm> in your Perl library directory:
This module is very unusual as overloaded modules go: it does not
provide any usual overloaded operators, instead it provides an
-implementation for L<C<nomethod>>. In this example the C<nomethod>
+implementation for L</C<nomethod>>. In this example the C<nomethod>
subroutine returns an object which encapsulates operations done over
the objects: C<< symbolic->new(3) >> contains C<['n', 3]>, C<< 2 +
symbolic->new(3) >> contains C<['+', 2, ['n', 3]]>.
diff --git a/lib/perl5db.pl b/lib/perl5db.pl
index b791f5aa4b..54d66228e3 100644
--- a/lib/perl5db.pl
+++ b/lib/perl5db.pl
@@ -523,7 +523,7 @@ BEGIN {
# Debugger for Perl 5.00x; perl5db.pl patch level:
use vars qw($VERSION $header);
-$VERSION = '1.39_07';
+$VERSION = '1.39_08';
$header = "perl5db.pl version $VERSION";
@@ -1513,7 +1513,7 @@ We then determine what the console should be on various systems:
undef $console;
}
-=item * Unix - use C</dev/tty>.
+=item * Unix - use F</dev/tty>.
=cut
diff --git a/make_patchnum.pl b/make_patchnum.pl
index 9d83dd59f8..77d4a4ee1a 100644
--- a/make_patchnum.pl
+++ b/make_patchnum.pl
@@ -19,7 +19,7 @@ This program creates the files holding the information
about locally applied patches to the source code. The created
files are F<git_version.h> and F<lib/Config_git.pl>.
-=head2 C<lib/Config_git.pl>
+=head2 F<lib/Config_git.pl>
Contains status information from git in a form meant to be processed
by the tied hash logic of Config.pm. It is actually optional,
diff --git a/os2/OS2/OS2-ExtAttr/ExtAttr.pm b/os2/OS2/OS2-ExtAttr/ExtAttr.pm
index c49f1d4de5..a48a6624bd 100644
--- a/os2/OS2/OS2-ExtAttr/ExtAttr.pm
+++ b/os2/OS2/OS2-ExtAttr/ExtAttr.pm
@@ -3,7 +3,7 @@ package OS2::ExtAttr;
use strict;
use XSLoader;
-our $VERSION = '0.02';
+our $VERSION = '0.03';
XSLoader::load 'OS2::ExtAttr', $VERSION;
# Preloaded methods go here.
@@ -122,7 +122,7 @@ OS2::ExtAttr - Perl access to extended attributes.
tie %ea, 'OS2::ExtAttr', 'my.file';
print $ea{eaname};
$ea{myfield} = 'value';
-
+
untie %ea;
=head1 DESCRIPTION
diff --git a/os2/OS2/OS2-Process/Process.pm b/os2/OS2/OS2-Process/Process.pm
index 21ca9aa804..baee0e6ddb 100644
--- a/os2/OS2/OS2-Process/Process.pm
+++ b/os2/OS2/OS2-Process/Process.pm
@@ -20,7 +20,7 @@ BEGIN {
#require AutoLoader;
our @ISA = qw(Exporter);
- our $VERSION = "1.07";
+ our $VERSION = "1.08";
XSLoader::load('OS2::Process', $VERSION);
}
@@ -1750,7 +1750,7 @@ specifies whether region scan should be interruptible by signals.
Use class C<OS2::localClipbrd> to ensure that clipboard is closed even if
the code in the block made a non-local exit.
-See the L</OS2::localMorphPM, OS2::localFlashWindow, and OS2::localClipbrd classes
+See the L</OS2::localMorphPM, OS2::localFlashWindow, and OS2::localClipbrd classes>
=head2 Control of the PM atom tables
diff --git a/os2/OS2/OS2-REXX/DLL/DLL.pm b/os2/OS2/OS2-REXX/DLL/DLL.pm
index a0d3b21eb0..a7d4504d68 100644
--- a/os2/OS2/OS2-REXX/DLL/DLL.pm
+++ b/os2/OS2/OS2-REXX/DLL/DLL.pm
@@ -1,6 +1,6 @@
package OS2::DLL;
-our $VERSION = '1.04';
+our $VERSION = '1.05';
use Carp;
use XSLoader;
@@ -152,7 +152,7 @@ See documentation of L<OS2::REXX> module if you need the variable pool.
=head1 DESCRIPTION
-=head2 L<Create a DLL handle>
+=head2 Create a DLL handle
$dll = OS2::DLL->module( NAME [, WHERE] );
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index fadbbad65a..02c93cebb0 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -671,7 +671,7 @@ Something like this will reproduce the error:
=item Can't chdir to %s
-(F) You called C<perl -x/foo/bar>, but C</foo/bar> is not a directory
+(F) You called C<perl -x/foo/bar>, but F</foo/bar> is not a directory
that you can chdir to, possibly because it doesn't exist.
=item Can't check filesystem of script "%s" for nosuid
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index cdae29fa66..0263deb9a1 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -4688,7 +4688,7 @@ an explicit repeat count for pack, the packed string is adjusted to that
length. For example:
This code: gives this result:
-
+
unpack("W/a", "\004Gurusamy") ("Guru")
unpack("a3/A A*", "007 Bond J ") (" Bond", "J")
unpack("a3 x2 /A A*", "007: Bond, J.") ("Bond, J", ".")
@@ -6616,32 +6616,32 @@ Examples:
# sort lexically
@articles = sort @files;
-
+
# same thing, but with explicit sort routine
@articles = sort {$a cmp $b} @files;
-
+
# now case-insensitively
@articles = sort {fc($a) cmp fc($b)} @files;
-
+
# same thing in reversed order
@articles = sort {$b cmp $a} @files;
-
+
# sort numerically ascending
@articles = sort {$a <=> $b} @files;
-
+
# sort numerically descending
@articles = sort {$b <=> $a} @files;
-
+
# this sorts the %age hash by value instead of key
# using an in-line function
@eldest = sort { $age{$b} <=> $age{$a} } keys %age;
-
+
# sort using explicit subroutine name
sub byage {
$age{$a} <=> $age{$b}; # presuming numeric
}
@sortedclass = sort byage @class;
-
+
sub backwards { $b cmp $a }
@harry = qw(dog cat x Cain Abel);
@george = qw(gone chased yz Punished Axed);
@@ -6692,11 +6692,11 @@ Examples:
# not set here
package main;
@new = sort other::backwards @old;
-
+
# guarantee stability, regardless of algorithm
use sort 'stable';
@new = sort { substr($a, 3, 5) cmp substr($b, 3, 5) } @old;
-
+
# force use of mergesort (not portable outside Perl 5.8)
use sort '_mergesort'; # note discouraging _
@new = sort { substr($a, 3, 5) cmp substr($b, 3, 5) } @old;
diff --git a/pod/perlgpl.pod b/pod/perlgpl.pod
index 82a8f5a9dd..cd8a1d6434 100644
--- a/pod/perlgpl.pod
+++ b/pod/perlgpl.pod
@@ -35,15 +35,15 @@ For the Perl Artistic License, see L<perlartistic>.
GNU GENERAL PUBLIC LICENSE
Version 1, February 1989
-
+
Copyright (C) 1989 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
+
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
-
+
Preamble
-
+
The license agreements of most software companies try to keep users
at the mercy of those companies. By contrast, our General Public
License is intended to guarantee your freedom to share and change free
@@ -51,41 +51,41 @@ For the Perl Artistic License, see L<perlartistic>.
General Public License applies to the Free Software Foundation's
software and to any other program whose authors commit to using it.
You can use it for your programs, too.
-
+
When we speak of free software, we are referring to freedom, not
price. Specifically, the General Public License is designed to make
sure that you have the freedom to give away or sell copies of free
software, that you receive source code or can get it if you want it,
that you can change the software or use pieces of it in new free
programs; and that you know you can do these things.
-
+
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
-
+
For example, if you distribute copies of a such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must tell them their rights.
-
+
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
-
+
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
-
+
The precise terms and conditions for copying, distribution and
modification follow.
-
+
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
+
0. This License Agreement applies to any program or other work which
contains a notice placed by the copyright holder saying it may be
distributed under the terms of this General Public License. The
@@ -93,7 +93,7 @@ For the Perl Artistic License, see L<perlartistic>.
on the Program" means either the Program or any work containing the
Program or a portion of it, either verbatim or with modifications. Each
licensee is addressed as "you".
-
+
1. You may copy and distribute verbatim copies of the Program's source
code as you receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice and
@@ -102,21 +102,21 @@ For the Perl Artistic License, see L<perlartistic>.
other recipients of the Program a copy of this General Public License
along with the Program. You may charge a fee for the physical act of
transferring a copy.
-
+
2. You may modify your copy or copies of the Program or any portion of
it, and copy and distribute such modifications under the terms of Paragraph
1 above, provided that you also do the following:
-
+
a) cause the modified files to carry prominent notices stating that
you changed the files and the date of any change; and
-
+
b) cause the whole of any work that you distribute or publish, that
in whole or in part contains the Program or any part thereof, either
with or without modifications, to be licensed at no charge to all
third parties under the terms of this General Public License (except
that you may choose to grant warranty protection to some or all
third parties, at your option).
-
+
c) If the modified program normally reads commands interactively when
run, you must cause it, when started running for such interactive use
in the simplest and most usual way, to print or display an
@@ -125,34 +125,34 @@ For the Perl Artistic License, see L<perlartistic>.
warranty) and that users may redistribute the program under these
conditions, and telling the user how to view a copy of this General
Public License.
-
+
d) You may charge a fee for the physical act of transferring a
copy, and you may at your option offer warranty protection in
exchange for a fee.
-
+
Mere aggregation of another independent work with the Program (or its
derivative) on a volume of a storage or distribution medium does not bring
the other work under the scope of these terms.
-
+
3. You may copy and distribute the Program (or a portion or derivative of
it, under Paragraph 2) in object code or executable form under the terms of
Paragraphs 1 and 2 above provided that you also do one of the following:
-
+
a) accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of
Paragraphs 1 and 2 above; or,
-
+
b) accompany it with a written offer, valid for at least three
years, to give any third party free (except for a nominal charge
for the cost of distribution) a complete machine-readable copy of the
corresponding source code, to be distributed under the terms of
Paragraphs 1 and 2 above; or,
-
+
c) accompany it with the information you received as to where the
corresponding source code may be obtained. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form alone.)
-
+
Source code for a work means the preferred form of the work for making
modifications to it. For an executable file, complete source code means
all the source code for all modules it contains; but, as a special
@@ -160,7 +160,7 @@ For the Perl Artistic License, see L<perlartistic>.
libraries that accompany the operating system on which the executable
file runs, or for standard header files or definitions files that
accompany that operating system.
-
+
4. You may not copy, modify, sublicense, distribute or transfer the
Program except as expressly provided under this General Public License.
Any attempt otherwise to copy, modify, sublicense, distribute or transfer
@@ -169,22 +169,22 @@ For the Perl Artistic License, see L<perlartistic>.
copies, or rights to use copies, from you under this General Public
License will not have their licenses terminated so long as such parties
remain in full compliance.
-
+
5. By copying, distributing or modifying the Program (or any work based
on the Program) you indicate your acceptance of this license to do so,
and all its terms and conditions.
-
+
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the original
licensor to copy, distribute or modify the Program subject to these
terms and conditions. You may not impose any further restrictions on the
recipients' exercise of the rights granted herein.
-
+
7. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
-
+
Each version is given a distinguishing version number. If the Program
specifies a version number of the license which applies to it and "any
later version", you have the option of following the terms and conditions
@@ -192,7 +192,7 @@ For the Perl Artistic License, see L<perlartistic>.
Software Foundation. If the Program does not specify a version number of
the license, you may choose any version ever published by the Free Software
Foundation.
-
+
8. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
@@ -200,9 +200,9 @@ For the Perl Artistic License, see L<perlartistic>.
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
-
+
NO WARRANTY
-
+
9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
@@ -212,7 +212,7 @@ For the Perl Artistic License, see L<perlartistic>.
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
-
+
10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
@@ -222,67 +222,67 @@ For the Perl Artistic License, see L<perlartistic>.
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
-
+
END OF TERMS AND CONDITIONS
-
+
Appendix: How to Apply These Terms to Your New Programs
-
+
If you develop a new program, and you want it to be of the greatest
possible use to humanity, the best way to achieve this is to make it
free software which everyone can redistribute and change under these
terms.
-
+
To do so, attach the following notices to the program. It is safest to
attach them to the start of each source file to most effectively convey
the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
-
+
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 19yy <name of author>
-
+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 1, or (at your option)
any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA
02110-1301 USA
-
-
+
+
Also add information on how to contact you by electronic and paper mail.
-
+
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
-
+
Gnomovision version 69, Copyright (C) 19xx name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type 'show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type 'show c' for details.
-
+
The hypothetical commands 'show w' and 'show c' should show the
appropriate parts of the General Public License. Of course, the
commands you use may be called something other than 'show w' and 'show
c'; they could even be mouse-clicks or menu items--whatever suits your
program.
-
+
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here a sample; alter the names:
-
+
Yoyodyne, Inc., hereby disclaims all copyright interest in the
program 'Gnomovision' (a program to direct compilers to make passes
at assemblers) written by James Hacker.
-
+
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
-
+
That's all there is to it!
=cut
diff --git a/pod/perlguts.pod b/pod/perlguts.pod
index 52a0170c8d..4fb9ce1289 100644
--- a/pod/perlguts.pod
+++ b/pod/perlguts.pod
@@ -1536,7 +1536,7 @@ But it also puts the same information in certain fields of the XSUB itself:
const char *subname = SvPVX(cv);
STRLEN name_length = SvCUR(cv); /* in bytes */
U32 is_utf8 = SvUTF8(cv);
-
+
C<SvPVX(cv)> contains just the sub name itself, not including the package.
For an AUTOLOAD routine in UNIVERSAL or one of its superclasses,
C<CvSTASH(cv)> returns NULL during a method call on a nonexistent package.
diff --git a/pod/perlintro.pod b/pod/perlintro.pod
index afce360a2a..2a090a60b6 100644
--- a/pod/perlintro.pod
+++ b/pod/perlintro.pod
@@ -70,7 +70,7 @@ Alternatively, put this as the first line of your script:
#!/usr/bin/env perl
-... and run the script as C</path/to/script.pl>. Of course, it'll need
+... and run the script as F</path/to/script.pl>. Of course, it'll need
to be executable first, so C<chmod 755 script.pl> (under Unix).
(This start line assumes you have the B<env> program. You can also put
diff --git a/pod/perlmodinstall.pod b/pod/perlmodinstall.pod
index 9e88606ff5..be0608316e 100644
--- a/pod/perlmodinstall.pod
+++ b/pod/perlmodinstall.pod
@@ -53,7 +53,7 @@ module into your system's repository of Perl modules, but you can
install modules into any directory you wish. For instance, where I
say C<perl Makefile.PL>, you can substitute C<perl Makefile.PL
PREFIX=/my/perl_directory> to install the modules into
-C</my/perl_directory>. Then you can use the modules from your Perl
+F</my/perl_directory>. Then you can use the modules from your Perl
programs with C<use lib "/my/perl_directory/lib/site_perl";> or
sometimes just C<use "/my/perl_directory";>. If you're on a system
that requires superuser/root access to install modules into the
diff --git a/pod/perlop.pod b/pod/perlop.pod
index d0cfd85669..40402becae 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -561,7 +561,7 @@ the table is sorted on the right operand instead of on the left.
like: exists HASH->{Any}
Right operand is CODE:
-
+
Left Right Description and pseudocode
===============================================================
ARRAY CODE sub returns true on all ARRAY elements[1]
@@ -2139,7 +2139,7 @@ X<qx> X<`> X<``> X<backtick>
=item `STRING`
A string which is (possibly) interpolated and then executed as a
-system command with C</bin/sh> or its equivalent. Shell wildcards,
+system command with F</bin/sh> or its equivalent. Shell wildcards,
pipes, and redirections will be honored. The collected standard
output of the command is returned; standard error is unaffected. In
scalar context, it comes back as a single (potentially multi-line)
diff --git a/pod/perlpod.pod b/pod/perlpod.pod
index 7afb325c0c..a5cd12bcf1 100644
--- a/pod/perlpod.pod
+++ b/pod/perlpod.pod
@@ -291,9 +291,9 @@ module. Examples:
=encoding utf8
=encoding koi8-r
-
+
=encoding ShiftJIS
-
+
=encoding big5
=back
diff --git a/pod/perlpragma.pod b/pod/perlpragma.pod
index 604387d9f9..78dacbf174 100644
--- a/pod/perlpragma.pod
+++ b/pod/perlpragma.pod
@@ -16,22 +16,22 @@ mathematical operators, and would like to provide your own pragma that
functions much like C<use integer;> You'd like this code
use MyMaths;
-
+
my $l = MyMaths->new(1.2);
my $r = MyMaths->new(3.4);
-
+
print "A: ", $l + $r, "\n";
-
+
use myint;
print "B: ", $l + $r, "\n";
-
+
{
no myint;
print "C: ", $l + $r, "\n";
}
-
+
print "D: ", $l + $r, "\n";
-
+
no myint;
print "E: ", $l + $r, "\n";
@@ -63,12 +63,12 @@ this:
$$l + $$r;
}
};
-
+
sub new {
my ($class, $value) = @_;
bless \$value, $class;
}
-
+
1;
Note how we load the user pragma C<myint> with an empty list C<()> to
@@ -77,24 +77,24 @@ prevent its C<import> being called.
The interaction with the Perl compilation happens inside package C<myint>:
package myint;
-
+
use strict;
use warnings;
-
+
sub import {
$^H{"myint/in_effect"} = 1;
}
-
+
sub unimport {
$^H{"myint/in_effect"} = 0;
}
-
+
sub in_effect {
my $level = shift // 0;
my $hinthash = (caller($level))[10];
return $hinthash->{"myint/in_effect"};
}
-
+
1;
As pragmata are implemented as modules, like any other module, C<use myint;>
diff --git a/t/porting/known_pod_issues.dat b/t/porting/known_pod_issues.dat
index df07c14144..fbf3582ecd 100644
--- a/t/porting/known_pod_issues.dat
+++ b/t/porting/known_pod_issues.dat
@@ -1,4 +1,4 @@
-# This file is the data file for t/porting/podcheck.t.
+# This file is the data file for porting/podcheck.t.
# There are three types of lines.
# Comment lines are white-space only or begin with a '#', like this one. Any
# changes you make to the comment lines will be lost when the file is
@@ -164,7 +164,6 @@ dist/data-dumper/dumper.pm ? Should you be using L<...> instead of 1
dist/extutils-parsexs/lib/perlxs.pod Verbatim line length including indents exceeds 79 by 1
dist/extutils-parsexs/lib/perlxstut.pod Verbatim line length including indents exceeds 79 by 10
dist/filter-simple/lib/filter/simple.pm Verbatim paragraph in NAME section 1
-dist/locale-maketext/lib/locale/maketext.pod No items in =over / =back list 1
dist/locale-maketext/lib/locale/maketext/tpj13.pod No items in =over / =back list 3
dist/math-bigint/lib/math/bigfloat.pm Apparent broken link 1
dist/math-bigint/lib/math/bigint.pm Apparent broken link 1
diff --git a/win32/bin/pl2bat.pl b/win32/bin/pl2bat.pl
index 64a807c014..f78be1faa2 100644
--- a/win32/bin/pl2bat.pl
+++ b/win32/bin/pl2bat.pl
@@ -363,21 +363,21 @@ Show command line usage.
C:\> pl2bat foo.pl bar.PM
[..creates foo.bat, bar.PM.bat..]
-
+
C:\> pl2bat -s "/\.pl|\.pm/" foo.pl bar.PM
[..creates foo.bat, bar.bat..]
-
+
C:\> pl2bat < somefile > another.bat
-
+
C:\> pl2bat > another.bat
print scalar reverse "rekcah lrep rehtona tsuj\n";
^Z
[..another.bat is now a certified japh application..]
-
+
C:\> ren *.bat *.pl
C:\> pl2bat -u *.pl
[..updates the wrapping of some previously wrapped scripts..]
-
+
C:\> pl2bat -u -s .bat *.bat
[..same as previous example except more dangerous..]
diff --git a/win32/bin/runperl.pl b/win32/bin/runperl.pl
index 736d7eb740..ad651cb316 100644
--- a/win32/bin/runperl.pl
+++ b/win32/bin/runperl.pl
@@ -21,10 +21,10 @@ runperl.bat - "universal" batch file to run perl scripts
C:\> copy runperl.bat foo.bat
C:\> foo
[..runs the perl script 'foo'..]
-
+
C:\> foo.bat
[..runs the perl script 'foo'..]
-
+
=head1 DESCRIPTION
diff --git a/x2p/a2p.pod b/x2p/a2p.pod
index d32a9c7efa..9bab1f8814 100644
--- a/x2p/a2p.pod
+++ b/x2p/a2p.pod
@@ -164,7 +164,7 @@ Larry Wall E<lt>F<larry@wall.org>E<gt>
=head1 SEE ALSO
perl The perl compiler/interpreter
-
+
s2p sed to perl translator
=head1 DIAGNOSTICS