NAME
WE_Frontend::MainAny - find the current WEsiteinfo and Main* implementation
SYNOPSIS
use WE_Frontend::MainAny;
my $main = new WE_Frontend::MainAny $root;
DESCRIPTION
There is WE_Frontend::Main
and WEsiteinfo.pm
with the old variable syntax, and on the other hand there is WEsiteinfo::Main2
and WEsiteinfo.pm
with the new accessor syntax. WE_Frontend::MainAny
tries hard to find the current implementation.
To be successful, make sure that WEsiteinfo.pm
is in your @INC
path. The optional argument $root
will be passed as the WE_...::Root
object to the real Main
or Main2
module.
AUTHOR
Slaven Rezic - slaven@rezic.de