NAME
Complete::Riap::Clientless - Riap-related completion routines (clientless version)
VERSION
This document describes version 0.002 of Complete::Riap::Clientless (from Perl distribution Complete-Riap-Clientless), released on 2016-01-01.
SYNOPSIS
use Complete::Riap::Clientless qw(complete_riap_url);
my $res = complete_riap_url(word => '/Te', type=>'package');
# -> {word=>['/Template/', '/Test/', '/Text/'], path_sep=>'/'}
DESCRIPTION
This is an alternative to Complete::Riap. It does not utilize a Riap client but instead inspect %SPEC
package variables directly. Thus, it can only be used to complete local Riap URL's.
FUNCTIONS
complete_riap_url(%args) -> any
Complete Riap URL.
Only supports local Perl schemes (e.g. /Pkg/Subpkg/function
or pl:/Pkg/Subpkg/
).
This function is not exported by default, but exportable.
Arguments ('*' denotes required arguments):
riap_client => obj
type => str
Filter by entity type.
word* => str (default: "")
Word to complete.
Return value: (any)
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/Complete-Riap-Clientless.
SOURCE
Source repository is at https://github.com/perlancar/perl-Complete-Riap-Clientless.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Complete-Riap-Clientless
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.