Skip to content

Commit db9e7e8

Browse files
committed
splitting of experiments into separate files
1 parent d960ccd commit db9e7e8

File tree

10 files changed

+62
-59
lines changed

10 files changed

+62
-59
lines changed

bin/test-ansi-color.pl

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/perl
2+
3+
use strict;
4+
use warnings;
5+
use utf8;
6+
7+
use Win32::Console::ANSI;
8+
use Term::ANSIColor;
9+
10+
print color 'bold blue';
11+
print "This text is bold blue.\n";
12+
print color 'reset';
13+
print "This text is normal.\n";
14+
print colored ("Bold yellow on magenta.\n", 'bold yellow on_magenta');
15+
print "This text is normal.\n";
16+
File renamed without changes.

bin/test-ansi-screen.pl

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/usr/bin/perl
2+
3+
use strict;
4+
use warnings;
5+
use utf8;
6+
7+
use Win32::Console::ANSI;
8+
use Term::ANSIScreen qw/:color :cursor :screen/;
9+
10+
locate 1, 1; print "@ This is (1,1)", savepos;
11+
print locate(24,60), "@ This is (24,60)"; loadpos;
12+
print down(2), clline, "@ This is (3,16)\n";
13+
color 'black on white'; clline;
14+
print "This line is black on white.\n";
15+
print color 'reset'; print "This text is normal.\n";
16+
print colored ("This text is bold blue.\n", 'bold blue');
17+
print "This text is normal.\n";
18+
print colored ['bold blue'], "This text is bold blue.\n";
19+
print "This text is normal.\n";

bin/test.pl

Lines changed: 0 additions & 57 deletions
This file was deleted.

cpanfile.snapshot

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# carton snapshot format: version 1.0
22
DISTRIBUTIONS
3+
Term-ANSIMenu-0.02
4+
pathname: J/JA/JADEV/Term-ANSIMenu-0.02.tar.gz
5+
provides:
6+
Term::ANSIMenu 0.02
7+
requirements:
8+
Carp 0
9+
ExtUtils::MakeMaker 0
10+
Term::ReadKey 0
11+
Term-ANSIScreen-1.50
12+
pathname: A/AU/AUDREYT/Term-ANSIScreen-1.50.tar.gz
13+
provides:
14+
Term::ANSIScreen 1.50
15+
requirements:
16+
ExtUtils::MakeMaker 6.42
17+
perl 5.005
18+
TermReadKey-2.37
19+
pathname: J/JS/JSTOWE/TermReadKey-2.37.tar.gz
20+
provides:
21+
Term::ReadKey 2.37
22+
requirements:
23+
ExtUtils::MakeMaker 6.58
324
Win32-Console-ANSI-1.10
425
pathname: J/JL/JLMOREL/Win32-Console-ANSI-1.10.tar.gz
526
provides:

menu.bat

Lines changed: 0 additions & 1 deletion
This file was deleted.

test-ansi-color.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
perl -Ilocal\lib\perl5 bin\test-ansi-color.pl
2+
pause

test-ansi-menu.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
perl -Ilocal\lib\perl5 bin\test-ansi-menu.pl
2+
pause

test-ansi-screen.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
perl -Ilocal\lib\perl5 bin\test-ansi-screen.pl
2+
pause

test.bat

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)