Peter Prymmer wrote:
>
> On Fri, 28 Jul 2000, Thomas Pfau wrote:
> > I called the first module Formatter. This class is presented with a
> > list of field names and pack/unpack descriptors. It provides
> > subroutines to convert a record read from a file into a hash or convert
> > a hash back into a record that can be written to a file.
>
> <snip>
>
> > The second module is called FlatFile. This class can be used either by
> > itself or can be used as a base which is what I did. It uses
> > VMS::IndexedFile for file access and Formatter to convert data records
> > into Perl usable formats.
>
> They sound great and I would like to take a look. Formatter and FlatFile
> sound a bit generic though. Perhaps they ought to go into the VMS::*
> package namespace? Or do we need an RMS::* namespace?
Well, since FlatFile is kind of dependant on VMS::IndexedFile, I could
see it falling into the VMS:: namespace but Formatter can stand on its
own. As a matter of fact, I was looking for something to use as an
example and wrote a description for a tar file header block and it
worked! I could see it being used for things like parsing C structures
(like sockaddr?) instead of having to remember pack formats and stuff.
Keep the name suggestions coming...
> You ought to consider distributing them via CPAN - go to a CPAN site
> and hunt down the PAUSE documentation. I found that with web uploads
> it was ridiculously easy to pop modules onto CPAN just recently (I
> had even forgotten my password for a long time).
I'll look into this. I've been working on the documentation. Expect
this stuff to show up at http://www.eclipse.net/~pfau/perl/ shortly.
--
tom_p
[EMAIL PROTECTED]
http://www.eclipse.net/~pfau/
Community Gospel Church information at http://www.cgcnb.org/