in reply to Re^2: DBIx::Dump Title
in thread DBIx::Dump Title

I saw a page of documentation for DBIx::Dump that showed a "Title" parameter. I cannot find that page again.

Look at the source code of DBIx::Dump. It's a plain perl module without any XS code. About 200 lines of text, about 160 lines of code, 130 lines of code if you ignore the boilerplate. That's quite short.

Baby steps:

So, the sad answer is that DBIx::Dump does not support setting a title for Excel dumps, not even when you hook into the code using the callback mechanism. It could, but the author did not think about that, or so it seems.

But now that you know how DBIx::Dump writes an Excel file, it should be quite obvious how to add that feature.


To me, DBIx::Dump looks quite scary. Nearly no documentation, errors in the documentation, no parameter checks, messy code. No update since 2002. I would copy the routine stored in $excel into my code, clean it up, and forget that DBIx::Dump even exists.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Replies are listed 'Best First'.
Re^4: DBIx::Dump Title
by ScottM (Initiate) on Jul 07, 2015 at 19:28 UTC
    Alexander, I don't know how to Thank You enough. That was a lot of work and documentation you created. More than what's in DBIx::Dump! It's a quick and dirty tool that will stay that way. Thanks again, Scott