Thread Code und mehr (5 answers)
Opened by pq at 2009-03-22 14:53

GwenDragon
 2009-04-18 13:34
#120712 #120712
User since
2005-01-17
14787 Artikel
Admin1
[Homepage]
user image
Code (perl): (dl )
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
#!/usr/bin/perl

$| = 1;

use strict;
use warnings;
use CGI;

my $cgi = new CGI;
print $cgi->header;

print $cgi->start_html;

print $cgi->start_table;
while (my $line = <DATA>) {
   chomp $line;
   my (undef, $col1, $col2) = split/=/,$line;
   print $cgi->Tr($cgi->td({-width=>"50%"},[$col1,$col2]));
}
print $cgi->end_table;

print $cgi->end_html;

1;
__DATA__
=aaa=11111
=bbb=222
=ccc=77777
__END__

View full thread Code und mehr