Slaven Rezić > WE_Framework-0.097_03 > WE_Frontend::MainAny

Download:
WE_Framework-0.097_03.tar.gz

Dependencies

Annotate this POD

Module Version: 1.04   Source  

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

SEE ALSO ^

WE_Frontend::Main, WE_Frontend::Main2, WE_Frontend::Info.

syntax highlighting: