The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.052002 - 2021-05-19

  • Packaging fixes.
  • POD fixes.
  • Get rid of `Modern::Perl` dependency (add `Term::CLI::PerlFeatures`)
  • Force use of `Term::ReadLine::Gnu` `Term::ReadLine` *always* looks at the `PERL_RL` environment variable. This is a problem if your applications depends on not just `Term::ReadLine`, but features of `Term::ReadLine::Gnu` in particular.
    • The way we can force the issue, is to make sure we override `PERL_RL` before loading `Term::ReadLine`.
    • The workaround only works if `Term::ReadLine` has not been loaded by another module yet.
    • Hopefully, this fixes the CPAN tests on FreeBSD as well.

Documentation

introduction to Term::CLI class/module structure
tips, tricks, and examples for Term::CLI

Modules

CLI interpreter based on Term::ReadLine
generic parent class for arguments in Term::CLI
class for "boolean" arguments in Term::CLI
class for "enum" string arguments in Term::CLI
class for file name arguments in Term::CLI
base class for numerical arguments in Term::CLI
class for floating point arguments in Term::CLI
class for integer arguments in Term::CLI
class for basic string arguments in Term::CLI
generic base class for Term::CLI classes
Class for (sub-)commands in Term::CLI
A generic 'help' command for Term::CLI
generic parent class for elements in Term::CLI
localizations for Term::CLI
English localizations for Term::CLI
Dutch localizations for Term::CLI
turn on modern-ish Perl features
maintain a single Term::ReadLine object
Role for (sub-)commands in Term::CLI
Role for (sub-)commands in Term::CLI
Role for generating help text in Term::CLI