<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 17 May 2014 15:44, Richard Hector <span dir="ltr"><<a href="mailto:richard@walnut.gen.nz" target="_blank">richard@walnut.gen.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":2xw" class="a3s" style="overflow:hidden">It's mostly straight from the docs, except not creating the object with<br>

indirect notation (that makes no difference).</div></blockquote></div><br></div><div class="gmail_extra">You also changed the 'use' line from 'use Net::XMPP' to 'use Net::XMPP::Client', and that also is what causes your symptoms to be exhibited.<br>
<br><br></div><div class="gmail_extra">The Net::XMPP class does indeed force loading of all the required dependencies to make it work, its just a poorly structured way of declaring dependencies.<br><br>Instead of declaring:<br>
<br></div><div class="gmail_extra">A -> B<br>B -> C<br><br>They've done<br><br></div><div class="gmail_extra">A -> B<br></div><div class="gmail_extra">A -> C<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">
So if you consume B directly, the resolution of B -> C is missing.<br clear="all"></div><div class="gmail_extra"><br>-- <br>Kent<br></div></div>