Skip Menu |
 

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

Report information
The Basics
Id: 122181
Status: new
Priority: 0/
Queue: Config-IniFiles

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

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Feature request: allow multiline and multivalued values
Download (untitled) / with headers
text/plain 769b
Greetings Love your module! I use it constantly and am forever finding new things to do with it. In my latest foray, I have a situation where I want a multivalued parameter with multiline elements. Example [addresses] address=<<EOT 123 Main St Anytown MA 12345 EOT address=<<EOT 456 High St Anytown Cambridgeshire CB23 1AA United Kingdom EOT I hacked a one line solution into your code: add @$val_aref=CORE::join("\n",@$val_aref); at the end of _ReadConfig_handle_here_doc_param Obviously a real fix would require adding an option to new, checking the option before doing the join, using $/ if set. And, naturally, I have no idea whether this will break anything else. Thanks for creating and sharing this great software! All the best, Nathan Goodman


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.