- or download this
unless(param('start')){ $start = 1 }
- or download this
for(@array){
$c++; # count all items
...
}
}
}
- or download this
$previous = ($start-$show);
unless($previous < 1){ # unless we're already at the beginning
...
print qq~<a href="$url?start=$next&show=$show">
Next $show</a>~;
}