por ManuelPerl » 2013-09-06 21:40 @944
explorer, he intentado instalar este módulo pero me dice que no puede instalarlo. Tengo el IDE Padre con versión de Perl 5.14.2. Me fui al cpan install Win32::Console::ANSI, y también puse force install Win32::Console::ANSI, pero al final me da error:
Can't locate Term/ANSIScreen.pm in @INC (@INC contains:
b D:/Dwimperl/perl/vendor/lib D:/Dwimperl/perl/lib .) a
BEGIN failed--compilation aborted at ansi.pl line 8.
#!/usr/bin/perl
use 5.010;
use strict;
use warnings;
use Win32::Console::ANSI;
use Term::ANSIScreen qw/:color :cursor :screen/;
locate 1, 1; print "@ This is (1,1)", savepos;
print locate(24,60), "@ This is (24,60)"; loadpos;
print down(2), clline, "@ This is (3,16)\n";
color 'black on white'; clline;
print "This line is black on white.\n";
print color 'reset'; print "This text is normal.\n";
print colored ("This text is bold blue.\n", 'bold blue');
print "This text is normal.\n";
print colored ['bold blue'], "This text is bold blue.\n";
print "This text is normal.\n";