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.053006 - 2021-12-27

  • Compatibility
    • Fix versions of used modules for Perl 5.14.1 If we claim to to be compatible with Perl 5.14, then we should make sure that the minimum required version of modules included in the default distribution match up with what we require.
      • Files modified: lib/**/*.pm t/**/*.t
    • Use `bsd_glob` instead of `:bsd_glob` `File::Glob` in Perl 5.14 didn't have the `:bsd_glob` tag yet. Since we only need the `bsd_glob()` function, just import the function.
      • Files modified: lib/Term/CLI/Argument/Filename.pm
  • Bug Fixes
    • Make sure Term::ReadKey uses a "TTY" filehandle In cases of automatic builds, STDIN and STDOUT may be redirected. Term::ReadLine can handle that, Term::ReadKey cannot, so we need to be explicit.
      • Files modified: lib/Term/CLI/ReadLine.pm
    • Minor POD fixes.

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
Term::ReadLine compatibility layer for Term::CLI
Role for (sub-)commands in Term::CLI
Role for (sub-)commands in Term::CLI
Role for generating help text in Term::CLI