summaryrefslogtreecommitdiff
path: root/lib/diagnostics.pm
diff options
context:
space:
mode:
authorAndreas Koenig <a.koenig@mind.de>1997-04-15 20:14:01 +0200
committerChip Salzenberg <chip@atlantic.net>1997-04-15 00:00:00 +1200
commit5025c45a2e969afb692d1ff0cd507cc26230784b (patch)
tree71f8569ee97af8a5b32f93c45af11bfc76237071 /lib/diagnostics.pm
parent43aed9eec6090217aefc504ab0c9986cea375b59 (diff)
downloadperl-5025c45a2e969afb692d1ff0cd507cc26230784b.tar.gz
diagnostics: $/ gotcha
diagnostics does not localize $\ when it comes to printing. p5p-msgid: 199704151814.UAA03404@anna.in-berlin.de
Diffstat (limited to 'lib/diagnostics.pm')
-rw-r--r--lib/diagnostics.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/diagnostics.pm b/lib/diagnostics.pm
index a858a64ca7..10016f3bb7 100644
--- a/lib/diagnostics.pm
+++ b/lib/diagnostics.pm
@@ -451,6 +451,7 @@ sub death_trap {
sub splainthis {
local $_ = shift;
+ local $\;
### &finish_compilation unless %msg;
s/\.?\n+$//;
my $orig = $_;