X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXDebug.pm;h=790b398d1666d73c431f58d9560ae8ba50c1caee;hb=55f14d9038abb44d61ac63298f9f39b9e53a39d1;hp=0e96362674a3a8b3efadb4b98aa5a421ef3e2c95;hpb=fca6f1bb891577ce10f81219ce9815340d45a0c3;p=spider.git diff --git a/perl/DXDebug.pm b/perl/DXDebug.pm index 0e963626..790b398d 100644 --- a/perl/DXDebug.pm +++ b/perl/DXDebug.pm @@ -57,10 +57,9 @@ sub dbgstore chomp $r; my @l = split /\n/, $r; for (@l) { - my $l = $_; - $l =~ s/([\x00\x08\x0B-\x1f\x7f-\xff])/uc sprintf("%%%02x",ord($1))/eg; - print "$l\n" if defined \*STDOUT; - $fp->writeunix($t, "$t^$l"); + s/([\x00-\x08\x0B-\x1f\x7f-\xff])/uc sprintf("%%%02x",ord($1))/eg; + print "$_\n" if defined \*STDOUT; + $fp->writeunix($t, "$t^$_"); } } }