App-wdq
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
if ( $OPT{man} ) {
my $module = $OPT{color} ? 'Pod::Text::Color' : 'Pod::Text';
# may fail if pure script installed by hand
eval "require $module; require App::wdq"; ## no critic
$module->new->parse_from_file( $INC{'App/wdq.pm'} // $0 );
exit;
}
# default SPARQL endpoint
$OPT{api} //= 'https://query.wikidata.org/bigdata/namespace/wdq/sparql';
# add default prefixes by default
$OPT{'default-prefixes'} //= 1;
# include header in output
$OPT{header} //= $OPT{H} ? 0 : 1;
# limit given as single digit option
foreach ( grep { $OPT{$_} } 1 .. 9 ) {
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.017 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )