WE_Frontend::MainAny - find the current WEsiteinfo and Main* implementation
use WE_Frontend::MainAny; my $main = new WE_Frontend::MainAny $root;
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.
WE_Frontend::Main
WEsiteinfo.pm
WEsiteinfo::Main2
WE_Frontend::MainAny
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.
@INC
$root
WE_...::Root
Main
Main2
Slaven Rezic - slaven@rezic.de
WE_Frontend::Main, WE_Frontend::Main2, WE_Frontend::Info.
To install WE::DB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WE::DB
CPAN shell
perl -MCPAN -e shell install WE::DB
For more information on module installation, please visit the detailed CPAN module installation guide.