thenarf has asked for the wisdom of the Perl Monks concerning the following question:
The database management parts of BRU appear to be written in Python and the data records appear to be Python tuples. A typical data file looks like this:
If I'm not mistaken, this is the way Python displays tuples. Is anyone aware of a Perl module or script out there that can read this sort of data, without having to write my own parser, or, worse, go off and learn Python to do this?( 'string1', 'string 2', [ 1, 2, 3, 4 ], [ '/usr/bin', '/users' ], 'st +ring3' ] )
Thanks and regards,
John
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reading Python-esque GDBM files easily?
by ikegami (Patriarch) on Mar 10, 2005 at 22:44 UTC | |
by thenarf (Initiate) on Mar 11, 2005 at 16:54 UTC | |
|
Re: Reading Python-esque GDBM files easily?
by ambrus (Abbot) on Mar 10, 2005 at 22:50 UTC |