WE_Frontend::Main2 - a collection of we_redisys (frontend) related functions
use WE_Frontend::Main2; my $fe = new WE_Frontend::Main -root => $root, -config => $wesiteinfo_config_object; $fe->publish; $fe->searchindexer;
This is the next generation of the old WE_Frontend::Main module. Both modules share the same methods, but have a different constructor API.
WE_Frontend::Main
Note that all methods are loaded into the WE_Frontend::Main. Therefore it is not possible to use the old and this version of the module at the same time.
Because of this, you cannot "use base" for inheritance, but rather:
use WE_Frontend::Main2; push @ISA, "WE_Frontend::Main";
The WE_Frontend::Main2 class has two members: Root and Config.
WE_Frontend::Main2
Root
Config
See the method listing in WE_Frontend::MainCommon.
Slaven Rezic - slaven@rezic.de
WE_Frontend::Main, WE_Frontend::MainCommon.
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.