The example given in Config::General format in the CONFIGURATION section
of the Catalyst::Authentication::Credentials::OpenID doesn't seem to
yield the structure that is expected by the module.
The Perl-example looks like this:
extensions = [
'http://openid.net/extensions/sreg/1.1',
{
required = 'email',
optional = 'fullname,nickname,timezone',
},
],
And the corresponding Config::General snippet looks like this:
extensions
http://openid.net/extensions/sreg/1.1
required email
optional fullname,nickname,timezone
/extensions
Which is parsed into a hash-ref, not an array-ref with a scalar and a
hash-ref - so it doesn't work; I get this error:
Not an ARRAY reference at
/usr/share/perl5/Catalyst/Authentication/Credential/OpenID.pm line 77.
I tried various variations to coax Config::General into generating the
structure expected by the module, but failed - and resorted to using a
YAML configuration file.
I am wondering how to express the structure in Config::General syntax?
(This is using Catalyst::Authentication::Credentials::OpenID 0.16 and
Config::General 2.40).
Best regards,
Adam
--
My internal clock is on Tokyo time.Adam Sjøgren
a...@koldfront.dk
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/