On Sat, 8 Jun 2013, Faelin McCaley Landy wrote:
The Moose::Manual is very well written, but is definitely lacking in
explanation of a very key step in product development: how on Earth do you
actually use your objects in a script?!
Specifically, my problem is that I want to have a main.pl from which I call
Obj->new( ... );
What I can't figure out is how I'm supposed to do this from a different file
than the original Obj definition. Currently, I'm making it work by
use Moose;
extends 'Obj';
How about "use Obj" ?
Moose classes are Perl packages no different from any other package.
-dave
/*============================================================
http://VegGuide.org http://blog.urth.org
Your guide to all that's veg House Absolute(ly Pointless)
============================================================*/