- \$ref = [ split '\\^' ];
- push \@\$ref, "" unless \@\$ref >= 4;
- push \@in, \$ref;
- }
- my \$c;
- for (\$c = \$#in; \$c >= 0; \$c--) {
- \$ref = \$in[\$c];
- if ($search) {
- \$count++;
- next if \$count < $from;
- push \@out, print_item(\$ref);
- last if \$count >= \$to; # stop after n
- }
- }
- );