simple interface for prompting user

This commit is contained in:
espie 2006-11-13 15:19:19 +00:00
parent 9de8281961
commit 959a71bc09
4 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,17 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/11/13 15:19:19 espie Exp $
COMMENT= "handles various forms of terminal input"
MODULES= cpan
DISTNAME= Term-Prompt-1.03
CATEGORIES= devel
# perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= ::devel/p5-Term-ReadKey
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (Term-Prompt-1.03.tar.gz) = c67533d2d69b1f28ca74275852ed3e39
RMD160 (Term-Prompt-1.03.tar.gz) = ceb7b929990d41452fe07e600379bc3a4e41ba1a
SHA1 (Term-Prompt-1.03.tar.gz) = b87b47c3ad56950eb7536cab2b05ac096b6b2a0c
SIZE (Term-Prompt-1.03.tar.gz) = 11084

View File

@ -0,0 +1,7 @@
The main function of this module is to accept interactive input.
You specify the type of inputs allowed, a prompt, help text and
defaults and it will deal with the user interface, (and the user!),
by displaying the prompt, showing the default, and checking to be
sure that the response is one of the legal choices. Additional
"types" that could be added would be a phone type, a social secu-
rity type, a generic numeric pattern type...

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/13 15:19:19 espie Exp $
${P5SITE}/Term/
${P5SITE}/Term/Prompt.pm
@man man/man3p/Term::Prompt.3p