Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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
Replies are listed 'Best First'.
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 surveying the Monastery: (8)
As of 2015-07-31 02:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls