sub run { my( $self, $cfg, @query_params ) = @_; my $liveGrid = $self->new( %$cfg ); my $db_table = $liveGrid->query_database( @query_params ); # ... } #### DBIx::LiveGrid->run( \%cfg, $dbh, $table, \@fields, \@where );