Using three simple calls, any number of items may be selected from a single or multiple-page menu by moving an arrow to the desired item (or directly entering the selection number displayed on the screen). In addition to simple "single one-shot selection menus", "radio button" style menus and "multiple-item-selection" menus are provided. Paging through multiple-page menus is handled automatically. Menu titles, sub-titles, prompts, "single column", and "multiple column" menus are supported.
Using two simple calls a full-screen data entry template may be loaded and a fully-titled data entry input screen may be created. Defaults, maximum field lengths, and numeric-only data are supported.
The "perlmenu.pm" package uses curses interface routine calls supplied by the Curses extension for Perl5 (you should be running AT LEAST Perl 5.001). A "menu.pl" package can be created which uses curses interface routine calls supplied by the "curseperl" package for Perl4. All functions and features are identical whether you are using Perl4 or Perl5.
This Perl library module is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License (as published by the Free Software Foundation) or the Artistic License.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.