Complete::Env - Completion routines related to environment variables
This document describes version 0.400 of Complete::Env (from Perl distribution Complete-Env), released on 2017-12-31.
Usage:
complete_env(%args) -> array
Complete from environment variables.
On Windows, environment variable names are all converted to uppercase. You can use case-insensitive option (ci) to match against original casing.
ci
This function is not exported by default, but exportable.
Arguments ('*' denotes required arguments):
word* => str (default: "")
Word to complete.
Return value: (array)
complete_env_elem(%args) -> array
Complete from elements of an environment variable.
An environment variable like PATH contains colon- (or, on Windows, semicolon-) separated elements. This routine complete from the elements of such variable.
env* => str
Name of environment variable to use.
complete_path_env_elem(%args) -> array
Complete from elements of PATH environment variable.
PATH environment variable contains colon- (or, on Windows, semicolon-) separated elements. This routine complete from those elements.
Please visit the project's homepage at https://metacpan.org/release/Complete-Env.
Source repository is at https://github.com/perlancar/perl-Complete-Env.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Complete-Env
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.
Complete
Other Complete::* modules.
Complete::*
perlancar <perlancar@cpan.org>
This software is copyright (c) 2017, 2016, 2015 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.
To install Complete::Env, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Complete::Env
CPAN shell
perl -MCPAN -e shell install Complete::Env
For more information on module installation, please visit the detailed CPAN module installation guide.