doubledecker has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I'm trying to display menu by prompting the user to select one option from the menu. I want to display colored menu and using IO::Prompter module
here is the thing i've tried so far....
#!/usr/bin/perl use strict; use IO::Prompter; my $animal = prompt 'Select' -style=>'bold red on yellow', -number, -m +enu=>[ 'Cat', 'Dog', 'Tiger' ], ' >'; print $animal;
but this is not working what i expected. any help is appreciated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: IO::Prompter with colored menu's
by choroba (Cardinal) on Jan 25, 2013 at 09:38 UTC |