NAME

App::Zealc::Command::query - view the documentation for a term

SYNOPSIS

zealc query perldoc
# displays documentation for perldoc

zealc query --w3m perl:%Spec
# finds File::Spec and perlpodspec

DESCRIPTION

The query command displays the documentation for a given term. The term is a SQL LIKE pattern. If no documents are found, the search is retried after appending a % to the term. If multiple documents are found, the user will be prompted to choose one of them.

A SQL LIKE pattern is similar to a shell glob. The "%" character matches zero or more characters (like "*" in a shell glob or ".*" in a regex) and "_" matches exactly one character (like "?" in a shell glob or "." in a regex). Matching is case-insensitive.

SEE ALSO

zealc, Zeal

AUTHOR

Marius Gavrilescu, <marius@ieval.ro>

COPYRIGHT AND LICENSE

Copyright (C) 2015 by Marius Gavrilescu

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.20.1 or, at your option, any later version of Perl 5 you may have available.