From: Gurusamy Sarathy <gsar@cpan.org>
Date: Sun, 7 May 2000 01:22:23 +0000 (+0000)
Subject: avoid warnings in diagnostics.pm; pod tweaks (from Peter Prymmer
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3d0ae7ba72551d8af1ecbcfb8a67d9a77f1cf195;p=p5sagit%2Fp5-mst-13.2.git

avoid warnings in diagnostics.pm; pod tweaks (from Peter Prymmer
and Tom Phoenix)

p4raw-id: //depot/perl@6077
---

diff --git a/lib/diagnostics.pm b/lib/diagnostics.pm
index 8c7aedc..884ea3c 100755
--- a/lib/diagnostics.pm
+++ b/lib/diagnostics.pm
@@ -44,7 +44,7 @@ These still go out B<STDERR>.
 Due to the interaction between runtime and compiletime issues,
 and because it's probably not a very good idea anyway,
 you may not use C<no diagnostics> to turn them off at compiletime.
-However, you may control there behaviour at runtime using the 
+However, you may control their behaviour at runtime using the 
 disable() and enable() methods to turn them off and on respectively.
 
 The B<-verbose> flag first prints out the L<perldiag> introduction before
@@ -432,8 +432,8 @@ sub enable { &import }
 sub disable {
     shift;
     return unless $SIG{__WARN__} eq \&warn_trap;
-    $SIG{__WARN__} = $oldwarn;
-    $SIG{__DIE__} = $olddie;
+    $SIG{__WARN__} = $oldwarn || '';
+    $SIG{__DIE__} = $olddie || '';
 } 
 
 sub warn_trap {
diff --git a/pod/perlrun.pod b/pod/perlrun.pod
index f1e2c9a..e105b00 100644
--- a/pod/perlrun.pod
+++ b/pod/perlrun.pod
@@ -809,6 +809,18 @@ Relevant only if your perl executable was built with B<-DDEBUGGING>,
 this controls the behavior of global destruction of objects and other
 references.
 
+=item PERL_ROOT (specific to the VMS port)
+
+A translation concealed rooted logical name that contains perl and the
+logical device for the @INC path on VMS only.  Other logical names that
+affect perl on VMS include PERLSHR, PERL_ENV_TABLES, and 
+SYS$TIMEZONE_DIFFERENTIAL but are optional and discussed further in 
+L<perlvms> and in F<README.vms> in the Perl source distribution.
+
+=item SYS$LOGIN (specific to the VMS port)
+
+Used if chdir has no argument and HOME and LOGDIR are not set.
+
 =back
 
 Perl also has environment variables that control how Perl handles data
diff --git a/pod/perltie.pod b/pod/perltie.pod
index c835738..95de3bb 100644
--- a/pod/perltie.pod
+++ b/pod/perltie.pod
@@ -862,14 +862,11 @@ called:
 =head1 SEE ALSO
 
 See L<DB_File> or L<Config> for some interesting tie() implementations.
+A good starting point for many tie() implementations is with one of the
+modules L<Tie::Scalar>, L<Tie::Array>, L<Tie::Hash>, or L<Tie::Handle>.
 
 =head1 BUGS
 
-Tied arrays are I<incomplete>.  They are also distinctly lacking something
-for the C<$#ARRAY> access (which is hard, as it's an lvalue), as well as
-the other obvious array functions, like push(), pop(), shift(), unshift(),
-and splice().
-
 You cannot easily tie a multilevel data structure (such as a hash of
 hashes) to a dbm file.  The first problem is that all but GDBM and
 Berkeley DB have size limitations, but beyond that, you also have problems