<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><a name="_MailEndCompose"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Hi Hector,<o:p></o:p></span></a></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Ahh, I did see something about that. Well, after looking through the source code, it looks like Moose and MooseX::ArrayRef are only used in RDF/Trine/Parser/Turtle/Token.pm and RDF/Trine/Parser/Turtle/Lexer.pm, so if we don’t load those modules, then we won’t need to actually ‘use’ Moose. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>In the past, I think the fear has been that using Moose with CGI would slow down Koha too much, but Plack would solve that since it would load it at startup and keep it in memory for all the requests without having to reload for each page request. My work with RDF::Trine is in a daemon which doesn’t interact directly with end users, and the performance seems fine to me, although I’m using RDF/Trine/Parser/RDFXML.pm which doesn’t use Moose it seems.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>David Cook<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Systems Librarian<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Prosentient Systems<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>72/330 Wattle St<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Ultimo, NSW 2007<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Australia<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Office: 02 9212 0899<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Direct: 02 8005 0595<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'> Hector Castro [mailto:hector.hecaxmmx@gmail.com] <br><b>Sent:</b> Friday, 12 May 2017 12:39 AM<br><b>To:</b> koha-devel@lists.koha-community.org<br><b>Cc:</b> dcook@prosentient.com.au<br><b>Subject:</b> Packaging RDF::Trine (Hector Castro)<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal style='margin-bottom:12.0pt'>Hi David<br><br><br>I remember that the issue found in RDF::Trine at that moment was the dependencies used by module especially because use Moose. The policy was not to use Moose about some problems with Koha. I don't know if this policy has been change since the introduction of Plack.<o:p></o:p></p></div><div><p class=MsoNormal>Regards.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p></div><div><div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><p class=MsoNormal style='margin-bottom:12.0pt'><br>Message: 2<br>Date: Thu, 11 May 2017 16:08:06 +1000<br>From: "David Cook" <<a href="mailto:dcook@prosentient.com.au">dcook@prosentient.com.au</a>><br>To: <<a href="mailto:koha-devel@lists.koha-community.org">koha-devel@lists.koha-community.org</a>><br>Subject: [Koha-devel] Packaging RDF::Trine<br>Message-ID: <025c01d2ca1c$f4da7be0$de8f73a0$@<a href="http://prosentient.com.au" target="_blank">prosentient.com.au</a>><br>Content-Type: text/plain; charset="us-ascii"<br><br>Hi all,<br><br><br><br>Magnus and I have been working on a RDF project for Stockholm University<br>Library, and I've been using RDF::Trine for our prototype. It works great<br>overall, although I found a bug with RDF::Trine::Store::SPARQL version 1.016<br>(most current version on CPAN*). I sent in a pull request yesterday<br>(<a href="https://github.com/kasei/perlrdf/pull/147" target="_blank">https://github.com/kasei/perlrdf/pull/147</a>) and the author of the module<br>said that he's hoping to review it and merge it into master in the next few<br>days. But what this means is that we'll be wanting to use the latest version<br>of RDF::Trine, and that's going to be much newer than what is in the Debian<br>repositories for Jessie and Wheezy. I've taken a peek at the code in those<br>repos, and it's buggy too.<br><br><br><br>I seem to recall on<br><a href="https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13642" target="_blank">https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13642</a> that there<br>were some issues packaging RDF libraries, but I think it may have mostly<br>related to RDF::Helper, of which we have no need. But Mirko if I could get<br>your input, that would be great.<o:p></o:p></p></blockquote><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><p class=MsoNormal><br><br>*Actually it seems the latest version in CPAN is newer than master in<br>Github. I'll have to talk to the maintainer about that too.<br><br><br><br>David Cook<br><br>Systems Librarian<br><br>Prosentient Systems<br><br>72/330 Wattle St<br><br>Ultimo, NSW 2007<br><br>Australia<br><br><br><br>Office: 02 9212 0899<br><br>Direct: 02 8005 0595<br><br><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://lists.koha-community.org/pipermail/koha-devel/attachments/20170511/90fe5c84/attachment-0001.html" target="_blank">http://lists.koha-community.org/pipermail/koha-devel/attachments/20170511/90fe5c84/attachment-0001.html</a>><br><br>------------------------------<br><br>_______________________________________________<br>Koha-devel mailing list<br><a href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-community.org</a><br><a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a><br>git : <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a><br>bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.org/</a><br><br>End of Koha-devel Digest, Vol 138, Issue 10<br>*******************************************<o:p></o:p></p></blockquote></div><p class=MsoNormal><br><br clear=all><br>-- <o:p></o:p></p><div><p class=MsoNormal>Atte,<br><br>Héctor Eduardo Castro Avalos<o:p></o:p></p></div></div></div></div></div></body></html>