perl-test-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pgollu...@apache.org
Subject svn commit: r421116 - /perl/Apache-Test/trunk/lib/Apache/TestServer.pm
Date Wed, 12 Jul 2006 04:35:40 GMT
Author: pgollucci
Date: Tue Jul 11 21:35:39 2006
New Revision: 421116

URL: http://svn.apache.org/viewvc?rev=421116&view=rev
Log:
still need to look up the debugger name in the 
hash, so we can still reuse similiar code for debuggers
with similiar syntax.


Modified:
    perl/Apache-Test/trunk/lib/Apache/TestServer.pm

Modified: perl/Apache-Test/trunk/lib/Apache/TestServer.pm
URL: http://svn.apache.org/viewvc/perl/Apache-Test/trunk/lib/Apache/TestServer.pm?rev=421116&r1=421115&r2=421116&view=diff
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/TestServer.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/TestServer.pm Tue Jul 11 21:35:39 2006
@@ -316,10 +316,10 @@
         die("\n");
     }
 
-    my $debugger = $opts->{debugger};  
+    my $debugger = $opts->{debugger}; 
     $debugger =~ s/\d+$//;
 
-    my $method = "start_$debugger";
+    my $method = "start_" . $debuggers{$debugger};
 
     ## $opts->{debugger} is passed through unchanged
     ## so when we try to run it next, its found.



Mime
View raw message