Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Printing data structures as HTML

by ikegami (Pope)
on Aug 14, 2004 at 09:57 UTC ( #382930=note: print w/ replies, xml ) Need Help??


in reply to Printing data structures as HTML

Why don't you copy the contents of Data::HTMLDumper into a sub of your own and customize it? (license permitting)


Comment on Re: Printing data structures as HTML
Re^2: Printing data structures as HTML
by sutch (Curate) on Aug 14, 2004 at 13:21 UTC
    I had begun to do this, after an unsuccessful attempt to contact the author of the module.

    Data::HTMLDumper pretty much takes the output of Data::Dumper and uses regular expressions to replace characters (such as {, }, ], and =>) with HTML table elements. To me, this seems like a roundabout way of handling this.

    If I'm going to create a module to generate HTML from a data structure, I'd prefer to have one conversion only: from the actual data structure to the final HTML.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2015-07-05 10:04 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 (61 votes), past polls