WE_Frontend::Info - classes for the new WEsiteinfo.pm config file
use WE_Frontend::Info; $paths = bless {}, "WEsiteinfo::Paths"; ...
XXX Maybe this should go to webeditor/doc/configuration.pod?
This package holds the classes for the WEsiteinfo.pm configuration file. Please consult the source code for a list of classes and members.
The protocol scheme for the editor site. Usually "http" or "https". The default is "http".
The protocol scheme for the live site. This may differ from the "scheme". The default is "http".
The name of the server for the editor site.
The name of the server for the live site.
The port of the server for the editor site. There is no default value.
The port of the server for the live site.
The filesystem path of the directory which contains the htdocs, cgi-bin and other directories. This is the "real" root of the system.
htdocs
cgi-bin
The webserver root of the editor site, usually "/".
The webserver root of the live site.
The filesystem path to the htdocs directory of the editor site. This is by default the "htdocs" subdirectory of the uprootdir.
The filesystem path to the htdocs directory of the live site.
scheme, servername, serverport and rooturl of the editor site combined to an absolute url.
scheme
servername
serverport
rooturl
The same as absoluteurl for the live site.
The relative URL to the cgi-bin directory on the editor site. By default this is "/cgi-bin".
The relative URL to the cgi-bin directory on the live site.
The filesystem path to the cgi-bin directory on the editor site. By default this is the "cgi-bin" subdirectory of uprootdir.
The filesystem path to the cgi-bin directory on the live site. By default this is the "cgi-bin" subdirectory of uprootdir.
There are more configuration variables for paths to change, but these are rarely needed. Consult the source for a complete list.
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.