- CLASS STRUCTURE
- SEE ALSO
- COPYRIGHT AND LICENSE
Term::CLI::Element - generic parent class for elements in Term::CLI
use Term::CLI::Element; my $arg = Term::CLI::Element->new(name => 'varname');
This class inherits from Term::CLI::Base(3p) to provide the
- new ( name => VARNAME ... )
Create a new Term::CLI::Element object and return a reference to it.
The name attribute is required.
Term::CLI::Element inherits from accessors and methods from Term::CLI::Base(3p).
In addition, it defines:
- complete ( STR )
Return a list of strings that are possible completions for value. By default, this method returns an empty list.
Sub-classes should probably override this.
Steven Bakker <email@example.com>, 2018.
Copyright (c) 2018 Steven Bakker
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See "perldoc perlartistic."
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.