|File Search||Catalog||Content Search|
What's so great about this loop? It automates the generation of a numbered menu of choices, prompts for a choice, proofreads that choice and complains if it's invalid (at least in this enhanced implementation), and executes a code-block with a variable set to the chosen value. That saves a lot of coding for interactive programs -- especially if the menu consists of many values!
The benefit of bringing this loop to Perl is that it obviates the need for future programmers to reinvent the Choose-From-A-Menu wheel.
This directory contains the sample programs shown in the documentation for the Shell::POSIX::Select module. The module's installation routine does not install them in any system command directory, but you should be able to find them where the module was installed. And I guess you did, if you're reading this! Note that some of these programs won't do anything at all if they're invoked without ar more»
Select(3pm) User Contributed Perl Documentation Select(3pm) NAME Shell::POSIX::Select - The POSIX Shell's "select" loop for Perl PURPOSE This module implements the "select" loop of the "POSIX" shells (Bash, Korn, and derivatives) for Perl. That loop is unique in two ways: it's by far the friendliest feature of any UNIX shell, and it's the onl more»
libshell-posix-select-perl (0.05-2) unstable; urgency=low [ gregor herrmann ] * Take over for the Debian Perl Group with maintainer's permission (http://lists.debian.org/debian-perl/2008/06/msg00039.html) * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza); Homepage field (source stanza). Changed: Maintainer set to Debian Perl Group <pkg-per more»
Revision history for Perl extension Shell::POSIX::Select. 0.01 Sun May 4 00:47:26 PDT 2003 - or more»
Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: more»