summaryrefslogtreecommitdiff
path: root/pod/perlform.pod
diff options
context:
space:
mode:
authorChip Salzenberg <chip@perl.com>1996-12-31 18:32:43 +1200
committerChip Salzenberg <chip@atlantic.net>1997-03-07 04:01:12 +1200
commit6aa7c346415b0ad2478149a74e4c47f4ab7402e0 (patch)
treebd4e0075c6f25567bea1ee4a4ba9fcdca70ef679 /pod/perlform.pod
parent352854faa96220dc606ddd97e35f71abcccd4314 (diff)
downloadperl-6aa7c346415b0ad2478149a74e4c47f4ab7402e0.tar.gz
Warn about '.' terminating E-Mail
Diffstat (limited to 'pod/perlform.pod')
-rw-r--r--pod/perlform.pod15
1 files changed, 10 insertions, 5 deletions
diff --git a/pod/perlform.pod b/pod/perlform.pod
index b11936b534..fcdea2495e 100644
--- a/pod/perlform.pod
+++ b/pod/perlform.pod
@@ -29,8 +29,8 @@ Output record formats are declared as follows:
FORMLIST
.
-If name is omitted, format "STDOUT" is defined. FORMLIST consists of a
-sequence of lines, each of which may be of one of three types:
+If name is omitted, format "STDOUT" is defined. FORMLIST consists of
+a sequence of lines, each of which may be of one of three types:
=over 4
@@ -315,11 +315,16 @@ is to printf(), do this:
=head1 WARNINGS
+The lone dot that ends a format can also prematurely end an E-Mail
+message passing through a misconfigured Internet mailer (and based on
+experience, such misconfiguration is the rule, not the exception). So
+when sending format code through E-Mail, you should indent it so that
+the format-ending dot is not on the left margin; this will prevent
+E-Mail cutoff.
+
Lexical variables (declared with "my") are not visible within a
format unless the format is declared within the scope of the lexical
-variable. (They weren't visible at all before version 5.001.) Furthermore,
-lexical aliases will not be compiled correctly: see
-L<perlfunc/my> for other issues.
+variable. (They weren't visible at all before version 5.001.)
Formats are the only part of Perl which unconditionally use information
from a program's locale; if a program's environment specifies an