vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[bml] r133: LJSUP-7318: remove $& var from code

Committer: vad
LJSUP-7318: remove $& var from code
U   trunk/lib/Apache/BML.pm
Modified: trunk/lib/Apache/BML.pm
===================================================================
--- trunk/lib/Apache/BML.pm	2010-10-05 09:46:42 UTC (rev 132)
+++ trunk/lib/Apache/BML.pm	2010-11-11 05:56:08 UTC (rev 133)
@@ -1594,8 +1594,8 @@
                 if (/^(\S+?):\s*(.+)/) {
                     $lasthd = lc($1);
                     $hdval{$lasthd} = $2;
-                } elsif (/^\s+.+/) {
-                    $hdval{$lasthd} .= $&;
+                } elsif (/^(\s+.+)/) {
+                    $hdval{$lasthd} .= $1;
                 }
             }
 

Tags: bml, pm, vadvs
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments