Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Like I said, I hadn't seen DBIx::XHTML_Table before. It was the 96th result returned. Ten pages. I looked for something that filled the need I had, but couldn't find it. I'm not gonna look at every module on CPAN before writing my own. Here is the AoA interface to DBIx::XHTML_Table:
my $rows = [ [ qw(Head1 Head2 Head3) ], [ qw(foo bar baz) ], [ qw(one two three) ], [ qw(un deux trois) ] ]; my $table = DBIx::XHTML_Table->new($rows);
It's almost identical to the first way of arranging data in my module, but quite different than the other two. The second two are the ones I consider neat. You supply an array and the number of columns or rows that you want and it builds the table for you.

As to contacting module authors, one of the main rules of module writing is "don't change the interface." That makes it rather difficult to contribute to an out of alpha/beta module. I could send my code, but its interface is entirely diferent, so it wouldn't do much good to try to incorporate it.

elusion : http://matt.diephouse.com


In reply to Re: Re: Re: (jeffa) Re: RFC: CGI::Tables by elusion
in thread RFC: CGI::Tables by elusion

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2024-04-12 10:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found