[Dancer-users] Dancer::layout has been deprecated

Naveed Massjouni naveedm9 at gmail.com
Sun May 22 00:19:18 CEST 2011


On Sat, May 21, 2011 at 5:42 PM, ambs <ambs+dancer at perl-hackers.net> wrote:
> On 21/05/2011 22:40, Nick Knutov wrote:
>>
>> But anyway, why this changes was done?
>>
>> The new way may be a little bit beautiful or stylish, but the old way is
>> shorter.
>
> The idea is two fold:
>
>  1. reduce the amount of exported method/functions by Dancer;
>  2. make interaction with config variables homogeneous (using set for them

Is config->{layout} = 'foo' the same as set layout => 'foo'?
-Naveed

> all)
>
> Cheers
>
>
>>
>>
>> On 22.05.2011 3:34, ambs wrote:
>>>
>>> On 21/05/2011 22:33, Nick Knutov wrote:
>>>>
>>>> Oh, yes, found it, my mistake.
>>>
>>> Great, thanks :)
>>>
>>>>
>>>> On 22.05.2011 3:29, ambs wrote:
>>>>>
>>>>> Are you sure you do not have a line with 'layout "foo";' anywhere else
>>>>> in the code?
>>>>
>>>
>>> _______________________________________________
>>> Dancer-users mailing list
>>> Dancer-users at perldancer.org
>>> http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
>>
>
> _______________________________________________
> Dancer-users mailing list
> Dancer-users at perldancer.org
> http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
>


More information about the Dancer-users mailing list