1. Sterling Camden
  2. urlpicker

Commits

Chad Perrin  committed 2f57653

changed numeric iteration while to a for

--
user: Chad Perrin <code@apotheon.net>
branch 'default'
changed url-picker

  • Participants
  • Parent commits 8442811
  • Branches default

Comments (0)

Files changed (1)

File url-picker

View file
   if ($cmd =~ s/^url-picker\b//) {
     my $labels = {}; 
     my $hrefs = {};
-    my $row = -1;
     my $num = 0;
-    while ($row++ < $self->nrow) {
+    for my $row (0..$self->nrow) {
       my $text = $self->ROW_t($row);
       while ($text =~ /$url/g) {
         my $col = $-[0];