This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove an unused parameter.
authorShlomi Fish <shlomif@shlomifish.org>
Wed, 14 Nov 2012 09:43:57 +0000 (11:43 +0200)
committerTony Cook <tony@develop-help.com>
Wed, 2 Jan 2013 00:22:01 +0000 (11:22 +1100)
lib/perl5db.pl

index 1147caa..37a3f95 100644 (file)
@@ -5489,7 +5489,6 @@ sub _cmd_l_handle_var_name {
 }
 
 sub _cmd_l_handle_subname {
-    my $line = shift;
 
     my $s = $subname;
 
@@ -5674,7 +5673,7 @@ sub _cmd_l_main {
     }
     # l name. Try to find a sub by that name.
     elsif ( ($subname) = $spec =~ /\A([\':A-Za-z_][\':\w]*(?:\[.*\])?)/s ) {
-        return _cmd_l_handle_subname($spec);
+        return _cmd_l_handle_subname();
     }
     # Bare 'l' command.
     elsif ( $spec !~ /\S/ ) {