The cookbook is actually where these things exist. All of the examples in there are also in the tests, so that we can be sure they run.
This said, perhaps what we need is maybe a few simpler recipes. Stevan On Jun 10, 2013, at 10:49 PM, Faelin McCaley Landy <[email protected]> wrote: > Oh mailing lists, you do amuse me so. > > Thanks everyone for the help! Actually, I figured out that solution a few > hours after I'd posted my question, but it's still nice to get feedback. > > My point about the manual remains, though. There're lots of examples of > individual elements, but very few complete scripts that you could just copy > into a file and run. It would be nice if there were more demos of actual > programs written in Moose (linked from the Moose::Manual, that is). > > Cheers, > Faelin > > > On Mon, Jun 10, 2013 at 5:40 PM, Chris Weyl <[email protected]> wrote: >> >> On Sat, 8 Jun 2013, Faelin McCaley Landy wrote: >>>> *use Moose; >>>> extends 'Obj';* >>> >>> but this seems like it can't be the Best Practices way to go about is... Is >>> there a more "proper" way to access an objects constructor from a different >>> document? >> >> If you've defined Obj in Obj.pm and that file is in your @INC, you should be >> able to do a 'use Obj;' and make the class available. >> >> -Chris >
