diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-28 02:59:16 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-28 02:59:16 +0000 |
commit | 837638265c936ed27578a2aa7829a47e866303b0 (patch) | |
tree | 2a36564d30f0839d5123722693fd890e4ef81a6a /pod | |
parent | d702ae4256b191c7ab78dd4e746c2175206f38ce (diff) | |
download | perl-837638265c936ed27578a2aa7829a47e866303b0.tar.gz |
newer version of constant.pm from Tom Phoenix; added Tom's notes to
perldelta; added STOP, DESTROY and AUTOLOAD to specials list
p4raw-id: //depot/perl@4718
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldelta.pod | 12 | ||||
-rw-r--r-- | pod/perlvar.pod | 2 |
2 files changed, 12 insertions, 2 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 8d4fef80a8..c5f3a30edd 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -1108,7 +1108,17 @@ Perl bytecode. See L<ByteLoader>. =item constant -References can now be used. See L<constant>. +References can now be used. + +The new version also allows a leading underscore in constant names, but +disallows a double leading underscore (as in "__LINE__"). Some other names +are disallowed or warned against, including BEGIN, END, etc. Some names +which were forced into main:: used to fail silently in some cases; now they're +fatal (outside of main::) and an optional warning (inside of main::). +The ability to detect whether a constant had been set with a given name has +been added. + +See L<constant>. =item charnames diff --git a/pod/perlvar.pod b/pod/perlvar.pod index d38bc4937d..5e705313d5 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -270,7 +270,7 @@ set, you'll get the record back in pieces. On VMS, record reads are done with the equivalent of C<sysread>, so it's best not to mix record and non-record reads on the same file. (This is unlikely to be a problem, because any file you'd -want to read in record mode is probably usable in line mode.) +want to read in record mode is probably unusable in line mode.) Non-VMS systems do normal I/O, so it's safe to mix record and non-record reads of a file. |