Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: printing a table in html using data read from a text file

by jeroenes (Priest)
on Jun 08, 2001 at 12:10 UTC ( #86864=note: print w/ replies, xml ) Need Help??


in reply to printing a table in html using data read from a text file

There are tools available for the data retrieval and HTML-table print:

use SuperSplit; use CGI qw/:html/; $data = supersplit_open( ', ', $data_file ); print table Tr [map td( $_ ), @$data] ;
Hope this helps,

Jeroen
"We are not alone"(FZ)
Update: After reading crazyinsomniac's updates, I really need to give credits to merlyn, who showed me the distributive properties of CGI functions.
Update 2: Forgot to paste the $_. bjelli++ for noting...


Comment on Re: printing a table in html using data read from a text file
Download Code
Re: Re: printing a table in html using data read from a text file
by bjelli (Pilgrim) on Jun 08, 2001 at 13:39 UTC

    jeroenes second updated fixed the problem I pointed out here.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://86864]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2014-12-28 02:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls