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/
Message body not shown because it is not plain text.