Skip Menu |

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

Report information
The Basics
Id: 14605
Status: new
Priority: 0/
Queue: Config-Simple

People
Owner: Nobody in particular
Requestors: ambs [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 4.56
Fixed in: (no value)



Subject: INI configuration files should let us chose the comment character
It is important at least for me ;) Configuration files of ini type can have ';' or '#' as comment character. Config::Simple defaults to ';'. I'm writing configuration with Perl, and reading with glib. Glib just reads these files if they use '#', not ';'. If it would be possible to Config::Simple to configure the character used for comments would be really nice. I know I can bug glib folks to change their code, but it seems to me to be easier to Config::Simple to adapt that. In case you think you shouldn't change, please let me know so I can bug glib. And if they don't change, I'll need to do a pre-processor or just change from modules :-| Thank you Alberto
[AMBS - Thu Sep 15 13:02:41 2005]: A Simple (but not configurable) fix in Attachment.
605a606,608 > $STRING .= "# Config::Simple $VERSION\n"; > $STRING .= "# $currtime\n\n"; > 607,608d609 < $STRING .= "; Config::Simple $VERSION\n"; < $STRING .= "; $currtime\n\n"; 620,621d620 < $STRING .= "# Config::Simple $VERSION\n"; < $STRING .= "# $currtime\n\n"; 627,628d625 < $STRING .= "# Config::Simple $VERSION\n"; < $STRING .= "# $currtime\n\n";