Help for this page

Select Code to Download


  1. or download this
      
    # create a callback subroutine to generate the data to be paged
    my $get_data_sub = sub {
    ...
         }
         return \@return_array;
    }
    
  2. or download this
    my $get_data_sub = sub {
         my ($offset, $rows) = @_;
         my @return_array;
    ...
         }
         return \@return_array;
    }