in reply to How to distribute an example data file in a CPAN module

I'd append the SQL to create that database to the script itself, in (for example) a __DATA__ section. That way, it's easily seen or modified.

Replies are listed 'Best First'.
Re^2: How to distribute an example data file in a CPAN module
by zby (Vicar) on Feb 19, 2009 at 14:55 UTC
    Hmmm - yeah - you are right! I was thinking about an in memory database - I think I've seen something like that but I could not figure out how to do it so I decided that I must have confused something and stopped thinking in that direction.