<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Oct 16, 2013 at 2:14 AM, Stefan Hornburg (Racke) <span dir="ltr"><<a href="mailto:racke@linuxia.de" target="_blank">racke@linuxia.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im"><br>
</div>In general, it would make sense to have a generic shipping ecosystem for<br>
Perl + Interchange. But I'm sure there are a few things which can be discussed<br>
resp. enhanced in Shipment, e.g.:<br>
<br>
* use a better way to address the services instead of ->ups, ->...<br></blockquote><div><br></div><div>I had actually not intended the Shipment module to be used directly. I have to confess that this is my first module published to CPAN. I had asked for help to get it published and this was one of the things that someone else did for me. There are definitely some areas where I could use some mentorship from a Perl guru to steer me in the right direction. :)<br>
<br></div><div>One of the main goals was to provide a consistent interface to the various shipping services so that you could do the following regardless of which service provider you were using:<br><br>my $shipment = Shipment::XYZ->new(<br>
    from_address => Shipment::Address->new( ... ),<br>    to_address => Shipment::Address->new( ... ),<br>    packages => [ Shipment::Package->new( ... ), ],<br>  );<br><br>$shipment->ship('ground');<br>
$shipment->get_package(0)->label->save;<br><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
* use Moo instead Moose<br></blockquote><div><br></div><div>I'm sure this would be fairly straightforward to do.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

* allow other authors to write Shipment::XYZ<br></blockquote><div><br></div><div>Again, I think this was a consequence of how the module was published. I did not intend to publish Shipment, but I am not clear on how to make Shipment behave the same as say WebService on CPAN. Could you help me out with this?<br>
<br></div><div>As far as contributing to Shipment, anyone can fork it on github and I would absolutely welcome help in maintaining the distribution! <a href="https://github.com/pullingshots/Shipment">https://github.com/pullingshots/Shipment</a><br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
We would of course love to see you on the conference next year.<br></blockquote><div><br></div><div>Looking forward to it!<br><br><br></div><div><font color="#888888">Andrew</font><br></div></div></div></div>