Subject: | Installation fails due to deprecation of get_inline_template in Mojolicious::Renderer |
Hi,
I found the following error in the build.log when trying to install the
modulue with cpanm:
[Thu May 31 02:08:02 2012] [fatal] Processing request failed: Can't
locate object method "get_inline_template" via package
"Mojolicious::Renderer" at /home/yktang/.cpanm/work/1
338401276.1440/Mojolicious-Plugin-HamlRenderer-
1.0/blib/lib/MojoX/Renderer/Haml.pm line 68.
# Failed test '200 OK'
# at t/lite_app.t line 31.
# got: '500'
# expected: '200'
# Failed test 'exact match for content'
# at t/lite_app.t line 31.
# got: ''
# expected: '<foo>1 + 1 < 2</foo>
# '
Apparently, get_inline_template has been deprecated and removed from
Mojolicious::Renderer. It's been replaced by get_data_template.