Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Modules dealing with data files

by DrHyde (Prior)
on Nov 13, 2006 at 10:51 UTC ( #583683=note: print w/replies, xml ) Need Help??

in reply to Modules dealing with data files

How often does the data change? I have a somewhat similar problem with my module Number::Phone::UK. That relies on a data set that changes occasionally, and while it has only changed locations on me once, the format of the files changes more often.

I decided not to make users download and parse the data themselves. Instead, I do that every so often and distribute it myself. It's a lot less work for me, the process is easier to test, and it's more reliable for my users.

As for the format in which I distribute the data - none of the standard tools for packaging perl modules handle non-perl files at all well. Consequently, the data is buried in another module Number::Phone::UK::Data, as a DBM::Deep database in a __DATA__ segment.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2022-01-21 19:56 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (59 votes). Check out past polls.