R
Roman Kaganovich
Hello,
When I run this script example from Perl Cookbook in - chapter 15.5
==================================================
1 #!/usr/bin/perl -w
2
3
4 use lib qw(~/Perl/Modules/ANSIColor-1.07/blib/lib/Term/ANSIColor.pm);
5
6 use Term::ANSIColor ;
7
8 print color("red"), " Red Text sample\n", color("reset");
9 print "Just simple text\n";
10 print colored("<BLINK> Blinked text </BLINK>", "blink");
==================================================
In Linux (xterm) I got all expected outputs, but in
dtterm of SunOS 5.8 I got:
Can't locate Term/ANSIColor.pm in @INC (@INC contains:
~/Perl/Modules/ANSIColor-1.07/blib/lib/Term/ANSIColor.pm .
/usr/local/tools/tcsh/6.10.00/lib/perl5
/usr/local/toolset/2002Q1/lib/perl5 /usr/local/lib/perl5
/usr/local/lib/perl /usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503
/usr/perl5/site_perl/5.005/sun4-solaris /usr/perl5/site_perl/5.005 .)
at ./colors.pl line 6.
BEGIN failed--compilation aborted at ./colors.pl line 6.
Will thankful for answer.
Bye.
When I run this script example from Perl Cookbook in - chapter 15.5
==================================================
1 #!/usr/bin/perl -w
2
3
4 use lib qw(~/Perl/Modules/ANSIColor-1.07/blib/lib/Term/ANSIColor.pm);
5
6 use Term::ANSIColor ;
7
8 print color("red"), " Red Text sample\n", color("reset");
9 print "Just simple text\n";
10 print colored("<BLINK> Blinked text </BLINK>", "blink");
==================================================
In Linux (xterm) I got all expected outputs, but in
dtterm of SunOS 5.8 I got:
Can't locate Term/ANSIColor.pm in @INC (@INC contains:
~/Perl/Modules/ANSIColor-1.07/blib/lib/Term/ANSIColor.pm .
/usr/local/tools/tcsh/6.10.00/lib/perl5
/usr/local/toolset/2002Q1/lib/perl5 /usr/local/lib/perl5
/usr/local/lib/perl /usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503
/usr/perl5/site_perl/5.005/sun4-solaris /usr/perl5/site_perl/5.005 .)
at ./colors.pl line 6.
BEGIN failed--compilation aborted at ./colors.pl line 6.
Will thankful for answer.
Bye.