aroso has asked for the wisdom of the Perl Monks concerning the following question:
the result in monitor is:use CGI qw(:standard); use strict; use warnings; open(INPUT, "dtdversao3.dtd") or die "$!"; my @array=<INPUT>; close(INPUT); my $i=0; print header; print start_html('A Simple Example'), do{ $array[$i], $i=$i+1; }while($i<30); print end_html;
1 2 3 id CDATA #REQUIRED 5 Name CDATA #REQUIRED 6 > 7 8 9 10 id CDATA +#REQUIRED 12 Name CDATA #REQUIRED 13 > 14 15 16 id CDATA #REQUIRED 18 + Name CDATA #REQUIRED 19 > 20 21 22 23 id CDATA #REQUIRED 25 Name CDA +TA #REQUIRED 26 > 27 28 29 30
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: print file in cgi with perl
by dga (Hermit) on Jul 23, 2003 at 16:02 UTC | |
by aroso (Novice) on Jul 23, 2003 at 17:07 UTC | |
|
(jeffa) Re: print file in cgi with perl
by jeffa (Bishop) on Jul 23, 2003 at 15:56 UTC | |
by hardburn (Abbot) on Jul 23, 2003 at 16:42 UTC | |
by aroso (Novice) on Jul 23, 2003 at 16:10 UTC | |
by jeffa (Bishop) on Jul 23, 2003 at 16:22 UTC |