in reply to CGI form Not Showing Up.
(Note: I haven't tested this code!)print table( Tr( br, br, td( b( u( "IPS" ) " - " ) ), @ips, br, br ), Tr( br, br, td( b( u( "CNames" ) " - " ) ), @names, br, br ), Tr( br, br, td( b( u( "Services" ) " - " ) ), @services, br, br ), Tr( br, br, td( b( u( "Banners" ) " - " ) ), @banners, br, br ) );
You could do something even cooler by having the titles and arrays stuffed into an array. Later, adding a new row to your report would just mean adding a line to the array -- without code changes! (That's the Lazy part of Laziness, Impatience and Hubris in Perl.)
--t. alex
"Nyahhh (munch, munch) What's up, Doc?" --Bugs Bunny
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: CGI form Not Showing Up. (Style Comment)
by thunders (Priest) on May 01, 2002 at 18:46 UTC | |
by talexb (Chancellor) on May 01, 2002 at 18:51 UTC | |
by thunders (Priest) on May 01, 2002 at 20:18 UTC |