summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-10-13 07:27:44 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-10-13 07:27:44 +0000
commit736ec1c80bab696179afe4da708394b48b43c248 (patch)
tree56efce19e4ccf6084360e28b29dbf2b9a2bffc85 /pod
parentd1fdab8951cfd4b59ef0f71acc62a3d2fdcc4910 (diff)
parent2002527a20c03cb879ee04519ae2822f7ebcb8d9 (diff)
downloadperl-736ec1c80bab696179afe4da708394b48b43c248.tar.gz
Integrate with Sarathy.
p4raw-id: //depot/cfgperl@4365
Diffstat (limited to 'pod')
-rw-r--r--pod/perldelta.pod31
-rw-r--r--pod/perlfaq8.pod2
-rw-r--r--pod/perlfunc.pod12
-rw-r--r--pod/perlop.pod13
-rw-r--r--pod/perlport.pod6
5 files changed, 47 insertions, 17 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 75423ce778..618ee01455 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -55,7 +55,8 @@ In 5.005_0x and earlier, perl's rand() function used the C library
rand(3) function. As of 5.005_52, Configure tests for drand48(),
random(), and rand() (in that order) and picks the first one it finds.
Perl programs that depend on reproducing a specific set of pseudo-random
-numbers will now likely produce different output.
+numbers will now likely produce different output. You can use
+C<sh Configure -Drandfunc=rand> to obtain the old behavior.
=item Hashing function for hash keys has changed
@@ -272,7 +273,8 @@ because many scripts assume to find Perl in /usr/bin/perl.
=head2 SOCKS support
You can use "Configure -Dusesocks" which causes Perl to probe
-for the SOCKS proxy protocol library, http://www.socks.nec.com/
+for the SOCKS (v5, not v4) proxy protocol library,
+http://www.socks.nec.com/
=head2 C<-A> flag
@@ -281,10 +283,14 @@ flag. The editing happens immediately after the platform specific
hints files have been processed but before the actual configuration
process starts. Run C<Configure -h> to find out the full C<-A> syntax.
-=head2 New Installation Scheme
+=head2 Enhanced Installation Directories
-vendorprefix et al
-[TODO - Andy Dougherty <doughera@lafcol.lafayette.edu>]
+The installation structure has been enriched to improve the support for
+maintaining multiple versions of perl, to provide locations for
+vendor-supplied modules and scripts, and to ease maintenance of
+locally-added modules and scripts. See the section on Installation
+Directories in the INSTALL file for complete details. For most users
+building and installing from source, the defaults should be fine.
=head1 Core Changes
@@ -324,6 +330,15 @@ change#3385, also need perlguts documentation
[TODO - Tuomas Lukka <lukka@fas.harvard.edu>]
+=head2 File globbing implemented internally
+
+WARNING: This is currently an experimental feature. Interfaces and
+implementation are likely to change.
+
+Perl can be compiled with -DPERL_INTERNAL_GLOB to use the File::Glob
+implementation of the glob() operator. This avoids using an external
+csh process and the problems associated with it.
+
=head2 Binary numbers supported
Binary numbers are now supported as literals, in s?printf formats, and
@@ -1082,6 +1097,12 @@ autoloaded or is a symbolic reference.
A bug that caused File::Find to lose track of the working directory
when pruning top-level directories has been fixed.
+=item File::Glob
+
+This extension implements BSD-style file globbing. It will also be
+used for the internal implementation of the glob() operator if
+Perl was compiled with -DPERL_INTERNAL_GLOB. See L<File::Glob>.
+
=item File::Spec
New methods have been added to the File::Spec module: devnull() returns
diff --git a/pod/perlfaq8.pod b/pod/perlfaq8.pod
index 26efa3fbb2..f8dda0d9b8 100644
--- a/pod/perlfaq8.pod
+++ b/pod/perlfaq8.pod
@@ -935,7 +935,7 @@ the current process group of your controlling terminal as follows:
=head2 How do I timeout a slow event?
Use the alarm() function, probably in conjunction with a signal
-handler, as documented L<perlipc/"Signals"> and chapter 6 of the
+handler, as documented in L<perlipc/"Signals"> and chapter 6 of the
Camel. You may instead use the more flexible Sys::AlarmCall module
available from CPAN.
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 910510804c..d8c82bbeda 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -2118,17 +2118,21 @@ as trying has no effect).
See also C<each>, C<values> and C<sort>.
-=item kill LIST
+=item kill SIGNAL, LIST
-Sends a signal to a list of processes. The first element of
-the list must be the signal to send. Returns the number of
+Sends a signal to a list of processes. Returns the number of
processes successfully signaled (which is not necessarily the
same as the number actually killed).
$cnt = kill 1, $child1, $child2;
kill 9, @goners;
-Unlike in the shell, in Perl if the I<SIGNAL> is negative, it kills
+If SIGNAL is zero, no signal is sent to the process. This is a
+useful way to check that the process is alive and hasn't changed
+its UID. See L<perlport> for notes on the portability of this
+construct.
+
+Unlike in the shell, if SIGNAL is negative, it kills
process groups instead of processes. (On System V, a negative I<PROCESS>
number will also kill process groups, but that's not portable.) That
means you usually want to use positive not negative signals. You may also
diff --git a/pod/perlop.pod b/pod/perlop.pod
index 14ca6b5ec0..01074b3096 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -510,10 +510,10 @@ The following are recognized:
Although these are grouped by family, they all have the precedence
of assignment.
-Unlike in C, the assignment operator produces a valid lvalue. Modifying
-an assignment is equivalent to doing the assignment and then modifying
-the variable that was assigned to. This is useful for modifying
-a copy of something, like this:
+Unlike in C, the scalar assignment operator produces a valid lvalue.
+Modifying an assignment is equivalent to doing the assignment and
+then modifying the variable that was assigned to. This is useful
+for modifying a copy of something, like this:
($tmp = $global) =~ tr [A-Z] [a-z];
@@ -526,6 +526,11 @@ is equivalent to
$a += 2;
$a *= 3;
+Similarly, a list assignment in list context produces the list of
+lvalues assigned to, and a list assignment in scalar context returns
+the number of elements produced by the expression on the right hand
+side of the assignment.
+
=head2 Comma Operator
Binary "," is the comma operator. In scalar context it evaluates
diff --git a/pod/perlport.pod b/pod/perlport.pod
index 6b532f3777..3fd4352932 100644
--- a/pod/perlport.pod
+++ b/pod/perlport.pod
@@ -1452,13 +1452,13 @@ in the Winsock API does. (Win32)
Available only for socket handles. (S<RISC OS>)
-=item kill LIST
+=item kill SIGNAL, LIST
Not implemented, hence not useful for taint checking. (S<Mac OS>,
S<RISC OS>)
-Available only for process handles returned by the C<system(1, ...)>
-method of spawning a process. (Win32)
+Unlike Unix platforms, C<kill(0, $pid)> will actually terminate
+the process. (Win32)
=item link OLDFILE,NEWFILE