i dare say that's not what i'd suggested. i wrote:
my @titles = ref $c-request-params-{title}
? @{ $c-request-params-{title} } : ($c-request-params-{title} || '');
the @{ ... } bit was not extraneous.
(on the other hand, if there's a more idiomatic way of doing this i'd
love to hear
i dare say that's not what i'd suggested. i wrote:
my @titles = ref $c-request-params-{title}
? @{ $c-request-params-{title} } : ($c-request-params-{title} ||
'');
the @{ ... } bit was not extraneous.
(on the other hand, if there's a more idiomatic way of doing
problems with proxies,
etc.
--
С уважением, Сергей Мартынов.
___
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