I was hoping to use Catalyst::Utils::home outside of Catalyst -- I can do
that but I must load the application because home() looks in %INC to find
where the application class is located.  It's not a huge problem to load the
class, but it's not necessary for my needs.

Do you see any reason why home() could not walk @INC looking for the app .pm
file if not found in %INC?  Or is there another approach to find "home"?

Oh, btw --

    # we found nothing
    return 0;

maybe just "return;" -- or simply die "Cannot determine home for App
$class";



-- 
Bill Moseley
[email protected]
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to