Subject: | Could not load Curses::UI::0 from Curses/UI/0.pm: |
Date: | Wed, 30 May 2012 22:25:27 -0400 |
To: | bug-Curses-UI-Grid [...] rt.cpan.org |
From: | Wynn Taylor <wynn.taylor [...] gmail.com> |
I was following along with the tutorial at:
http://search.cpan.org/~adrianwit/Curses-UI-Grid-0.15/lib/Curses/UI/Grid/Cell.pm
The following code gives the error below (Ubuntu 10.04 libcurses-perl,
libcurses-widgets-perl, libcurses-ui-perl installed):
#! /usr/bin/perl
use Curses::UI;
my $cui = new Curses::UI;
my $win = $cui->add('Main','Window');
my $grid = $win->add(
'grid','Grid'
-rows => 3,
-columns => 5);
Fatal program error:
-------------------------------------------------------------------------------
Could not load Curses::UI::0 from Curses/UI/0.pm:
Can't locate Curses/UI/0.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/per
l/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5
/usr/lib/p
erl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at
/usr/local/share/pe
rl/5.10.1/Curses/UI.pm line 853.
-------------------------------------------------------------------------------
Press any key to exit...