|Think about Loose Coupling|
Re: writing an address book programby andreychek (Parson)
|on Jun 07, 2001 at 00:48 UTC||Need Help??|
Data::Dumper and MLDBM would work quite well. However, this would
also be an excellent opportunity to make use of some XML.
In an XML file, you could simply say:
There are quite a few Perl modules at CPAN
which will parse an XML file for you. You can just go
there and do a search for 'XML'. I have in the past found
XML::Simple, XML::TokeParser, and XML::Twig to be useful.
Those three all use XML::Parser to do their dirty work.
If you're feeling particularly adventurous, you could always
try and use XML::Parser directly. However, most of what you may
want to do has already been implemented, and no need to
reinvent the wheel unless you're trying to learn how
something works :-)