Skip Menu |

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

Report information
The Basics
Id: 19097
Status: open
Priority: 0/
Queue: Config-Std

People
Owner: Nobody in particular
Requestors: rob [...] cataclysm.cx
Cc:
AdminCc:

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



Subject: Multi-part values and list context
Date: Fri, 05 May 2006 21:48:07 +1000
To: bug-config-std [...] rt.cpan.org
From: Robert Norris <rob [...] cataclysm.cx>
Hi Damian, As stated in the docs, if I ask for a config key that has a single value, I get a scalar back. If it has multiple values, I get an arrayref. Thats fine, but inconsistent. I'd like to be able to just do this and have it work for all cases: process_options(@{$config{silly}{stuff}}); Any chance of getting some overload magic to handle this? Cheers, Rob. -- Robert Norris GPG: 1024D/FC18E6C2 Email+Jabber: rob@cataclysm.cx Web: http://cataclysm.cx/
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

Hi, Boston.pm has adopted this module. A little Wanted list context magic would seem a reasonable request. I think I saw one other bug report that seems similar. Will have to consider impacts to prereqs and existing code, so no promises, but wanted to let you know you've been heard. bill