App::Cmd::Plugin::Prompt

plug prompting routines into your commands
Download

App::Cmd::Plugin::Prompt Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Publisher Name:
  • Ricardo Signes
  • Publisher web site:
  • Operating Systems:
  • Linux
  • File Size:
  • 40KB

App::Cmd::Plugin::Prompt Tags


App::Cmd::Plugin::Prompt Description

Advertisement App::Cmd::Plugin::Prompt is a Development software developed by Ricardo Signes. After our trial and test, the software is proved to be official, secure and free. Here is the official description for App::Cmd::Plugin::Prompt: App::Cmd::Plugin::Prompt - plug prompting routines into your commands Valid options are: * input: optional coderef, which, when invoked, returns the user's response; Default is to read from STDIN. * output: optional coderef, which, when invoked (with two arguments: the prompt and the choices/default), should prompt the user; default is to write to STDOUT. * valid: an optional coderef which any input is passed into and which must return true in order for the program to continue * default: may be any string; must pass the 'valid' coderef (if given) * choices: what to display after the prompt; default is either the 'default' parameter or nothing * no_valid_default: do not test the 'default' parameter against the 'valid' coderef * invalid_default_error: error message to throw when the 'default' parameter is not valid (does not pass the 'valid' coderef)


App::Cmd::Plugin::Prompt Related Software