On Tue, 25 Feb 2003, Marcus Ramberg wrote:
> > This will handle a directive called MasonParStaticDirectoryIndex for
> > you.
> >
> > I'm not sure why you add this parameter when you call
> > HTML::Mason::ComponentSource->new:
> >
> > extra => { comp_root => 'par' },
>
> There was a really good reason for that, either to get the dhandler or
> the autohandler to work, uhm, but I really don't remember why.. I did
> quite some reading in the mason classes, and wanted behavior required a
> comp_root to be set. Or maybe it just got very late and something else
> fixed it :) I'll look into it.
It expects comp_root if you're creating an
HTML::Mason::Component::FileBased object, yes. But you should either just
use HTML::Mason::Component or create a new subclass,
HTML::Mason::Component::PARBased.
-dave
/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/