File: demo_tabular_points.pl

package info (click to toggle)
libperl6-form-perl 0.090-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 584 kB
  • sloc: perl: 3,080; makefile: 8
file content (30 lines) | stat: -rwxr-xr-x 563 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
use Perl6::Form;

my @play = (
	"Hamlet",
	"Othello",
	"Richard III",
);

my @name = (
	"Claudius, King of Denmark\r\r",
	"Iago\r\r",
	"Henry, Earl of Richmond\r\r",
);


print form
	 {layout=>'down', bullet=>'.'},
	 "Index  Character     Appears in",
	 {under=>"_"},
	 "{]]}.  {[[[[[[[[[[}  {[[[[[[[[[[}",
      [1..@name], \@name,       \@play;

print "\n\n=================\n\n";

print form
	 {layout=>'tabular', bullet=>'.'},
	 "Index  Character     Appears in",
	 {under=>"_"},
	 "{]]}.  {[[[[[[[[[[}  {[[[[[[[[[[}",
      [1..@name], \@name,       \@play;