Skip Menu |

This queue is for tickets about the Config-Std CPAN distribution.

Report information
The Basics
Id: 14918
Status: resolved
Priority: 0/
Queue: Config-Std

People
Owner: Nobody in particular
Requestors: nick [...] tesbo.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.0.2
Fixed in: v0.0.3



Subject: feature req: writing ini-file with = as separator
when writing config-data to a file with write_config() it always writes data in style "key: value". the used separator should be "switchable" to "=" so that the .ini-file can easily be read in by AppConfig. would be cool. greetings and cheers, nick
Date: Sat, 05 Nov 2005 11:56:48 -0800
To: bug-Config-Std [...] rt.cpan.org
Subject: Re: [cpan #14918] feature req: writing ini-file with = as separator
From: Damian Conway <thoughtstream [...] gmail.com>
RT-Send-Cc:
Show quoted text
> when writing config-data to a file with write_config() it always writes data in style "key: value". the used separator should be "switchable" to "=" so that the .ini-file can easily be read in by AppConfig. > would be cool.
Done. The next release will offer an option to control the default separator: use Config::Std { def_sep => '=' }; Thanks for the suggestion. Damian
From: steven [...] knowmad.com
Show quoted text
> Done. The next release will offer an option to control the default > separator: > > use Config::Std { def_sep => '=' }; > > Thanks for the suggestion. > > Damian >
To me it looks like you could then set the default seperator to anything you wanted... like say '-' or even '=>'. Would Config::Std read in files with special seperators if you set the seperator in the def_sep option? If not, then I would like to add that to the wish list? :) Thnx for the great package. ~Steven
Subject: Re: [cpan #14918] feature req: writing ini-file with = as separator
Date: Fri, 10 Feb 2006 13:12:45 +1100
To: bug-Config-Std [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Steven via RT wrote: Show quoted text
> To me it looks like you could then set the default seperator to anything > you wanted... like say '-' or even '=>'. Would Config::Std read in files > with special seperators if you set the seperator in the def_sep option? > If not, then I would like to add that to the wish list? :)
I'm afraid that goes completely against the notion of "standard", so I won't be granting that particular wish. ;-) Damian
From: nick [...] tesbo.com
Show quoted text
> Done. The next release will offer an option to control the default > separator: > > use Config::Std { def_sep => '=' }; >
hi damian, when will this release be available to the poor public? cheers, nick
Subject: Re: [rt.cpan.org #14918] feature req: writing ini-file with = as separator
Date: Tue, 14 Feb 2006 10:53:26 +1100
To: bug-Config-Std [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Nick asked: Show quoted text
> when will this release be available to the poor public?
RSN. Maybe even later this week. ;-) Damian
Damian added def_sep years ago and gave it to the requestor, but bug wasn't closed on release, so marking resolved belatedly. Bill for Boston.pm