App::CPANIDX::Queries - Provide SQL queries for App::CPANIDX
my $aref = App::CPANIDX::Queries->query('mod'); my ($sql,$flag) = App::CPANIDX::Queries->query('auth'); my @types = App::CPANIDX::Queries->queries();
App::CPANIDX::Queries provides the SQL queries that App::CPANIDX uses to query the CPANIDX.
queries
Returns a list of the available queries.
query
Takes one argument, the name of a query to lookup.
Returns in list context a list consisting of a SQL string and a flag indicating whether the SQL string includes placeholders.
In scalar context returns an array reference containing the same as above.
Chris BinGOs Williams <chris@bingosnet.co.uk>
BinGOs
Copyright © Chris Williams
This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details.
App::CPANIDX
To install App::CPANIDX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::CPANIDX
CPAN shell
perl -MCPAN -e shell install App::CPANIDX
For more information on module installation, please visit the detailed CPAN module installation guide.