[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What config file for a .pm perl module ?



On Thu, Dec 27, 2001 at 09:19:16AM -0600, Steve Langasek wrote:
> My own approach?  Write your own parser for a simple 'key = value' style 
> config file.  This can usually be done in ten lines or less[1] using
> perl's powerful regexp engine.

Why not just 'apt-get install libappconfig-perl', then use the AppConfig
module.  It is really robust, and does things like validation and defaults
rather nicely.

	-Sean

Attachment: pgpT_dvN9zhoy.pgp
Description: PGP signature


Reply to: