[Wellington-pm] indirect object notation

Kent Fredric kentfredric at gmail.com
Fri May 16 21:43:03 PDT 2014


On 17 May 2014 15:44, Richard Hector <richard at walnut.gen.nz> wrote:

> It's mostly straight from the docs, except not creating the object with
> indirect notation (that makes no difference).
>

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.


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.

Instead of declaring:

A -> B
B -> C

They've done

A -> B
A -> C

So if you consume B directly, the resolution of B -> C is missing.

-- 
Kent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/wellington-pm/attachments/20140517/628b7b2b/attachment.html>


More information about the Wellington-pm mailing list