Paketname | libshell-posix-select-perl |
Beschreibung | POSIX Shell's "select" loop for Perl |
Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
Version | 0.05-2 |
Sektion | perl |
Priorität | optional |
Installierte Größe | 196 Byte |
Hängt ab von | perl |
Empfohlene Pakete | |
Paketbetreuer | Debian Perl Group |
Quelle | |
Paketgröße | 48590 Byte |
Prüfsumme MD5 | da9dd2290c253a90178a7b00336052d0 |
Prüfsumme SHA1 | 499292ac80dbd1c438937d34fba843e897775b80 |
Prüfsumme SHA256 | 439abc236a9a9c9c3cffe82179c9812bf533c41d24088d242d57b2f133ca3b58 |
Link zum Herunterladen | libshell-posix-select-perl_0.05-2_all.deb |
Ausführliche Beschreibung | Shell::POSIX::Select 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 only UNIX shell loop
that's missing from the Perl language. Until now!
.
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.
|