Пытаюсь разобрать пример
#!/usr/bin/perl -w
use Curses::UI;
my $cui = new Curses::UI;
my $win = $cui->add('window_id', 'Window');
my $listbox = $win->add(
'mylistbox', 'Listbox',
-values => [1, 2, 3],
-labels => { 1 => 'One',
2 => 'Two',
3 => 'Three' },
-radio => 1,
);
$listbox->focus();
my $selected = $listbox->get();
при запуске вылетает ошибки
[root@node2 BRmysql]# perl Curses.pl
Can't locate Curses/UI.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Curses.pl line 3.
BEGIN failed--compilation aborted at Curses.pl line 3.
perl-Curses.x86_64 — установлен
OS CentOS release 6.3 (Final) x86_64