<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div>I am moving a working Dancer2 app from centos6 to 7<div class=""><br class=""></div><div class="">When running it I get</div><div class=""><br class=""></div><div class=""><div style="margin: 0px;" class="">Class::XSAccessor: invalid instance method invocant: no hash ref supplied at /usr/local/share/perl5/Dancer2/Core/Role/Serializer.pm line 71.</div></div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class="">I have narrowed it down to a single line - if I comment this out the app starts fine - albeit with the data from $file_string missing and therefore useless</div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class=""><div style="margin: 0px;" class="">$sql_config = from_yaml($file_string);</div></div><div class=""><div class=""><br class=""></div><div class="">But why on earth is it failing at compile time?</div><div class=""><br class=""></div><div class="">Working on 6 - Dancer2 0.160003</div><div class=""><br class=""></div><div class="">Not working on 7 - Dancer2 0.204002</div><div class=""><span style="font-family: Monaco; font-size: 10px;" class=""><br class=""></span></div><div class="">Downgraded 7 to  0.160003 - works</div><div class=""><br class=""></div><div class="">have I missed something that changed between versions of Dancer2?</div><div class=""><br class=""></div><div class="">TIA</div><div class=""><br class=""></div><div class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">— </div><div class="">Clive Eisen</div><div class="">GPG: 75056DD0</div><div class=""><br class=""></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""></div></body></html>