Skip Menu |
 

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

Report information
The Basics
Id: 34067
Status: resolved
Worked: 45 min
Priority: 0/
Queue: Config-IniFiles

People
Owner: SHLOMIF [...] cpan.org
Requestors: natg [...] shore.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 2.38
  • 2.39
Fixed in: (no value)



Subject: Multiline values returned as ARRAYs in tied hash interface
Download (untitled) / with headers
text/plain 429b
Greetings The documentation for the tied hash interface says, "...multiline values accessed through a hash will always be returned as a single value..." However, multiline values (indeed any value defined in a here-doc) are always returned as ARRAYs. This is a real pain, since users can provide any value as a here-doc. Please let me know if you need a test case. I'm running perl 5.8.5 on an i686 linux. Many thanks, Nat
Download (untitled) / with headers
text/plain 192b
Fixed in trunk (with a test case) and will soon be on CPAN. This broke some older tests, which expected the multi-line value to be an array ref. But the documentation is always right. Thanks!


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.