Commits

Shlomi Fish committed 5b512da

Rename from a leading underscore.

  • Participants
  • Parent commits 15eeac0

Comments (0)

Files changed (1)

project-euler/466/euler-466-experimental-with-modulo-bit-vec.pl

 
 sub count_mods_up_to_LIM
 {
-    my ($_r, $step, $l) = @_;
+    my ($r, $step, $l) = @_;
 
     # Let's try to calculate in a smarter way.
     my $recurse;
     $recurse = sub {
         my ($depth, $rows, $lcm, $lims) = @_;
 
-        if ($depth == @$_r)
+        if ($depth == @$r)
         {
             my $sign = ($rows & 0x1 ? (-1) : 1);
             # Including the modulo at zero.
                 $recurse->(
                     $depth+1,
                     $rows+1,
-                    slcm($lcm, $_r->[$depth]),
+                    slcm($lcm, $r->[$depth]),
                     \@new_lims,
                 );
             }