PEF::Front::Preload - Pre-load application parts
use PEF::Front::Preload;
This module pre-loads application modules and makes database connect.
You can turn off preloads of some unneeded parts.
use PEF::Front::Preload qw(no_db_connect);
Following parts can be turned off:
Don't load model description files.
use PEF::Front::Preload qw(no_model);
Don't connect to database.
Don't load local model handlers.
use PEF::Front::Preload qw(no_local_modules);
Don't load input filters.
use PEF::Front::Preload qw(no_in_filters);
Don't load output filters.
use PEF::Front::Preload qw(no_out_filters);
You can combine these switches as you wish:
use PEF::Front::Preload qw(no_model no_db_connect);
Usually you use this module right after loading your configuration module *::AppFrontConfig.
*::AppFrontConfig
This module was written and is maintained by Anton Petrusevich.
Copyright (c) 2016 Anton Petrusevich. Some Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install PEF::Front, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PEF::Front
CPAN shell
perl -MCPAN -e shell install PEF::Front
For more information on module installation, please visit the detailed CPAN module installation guide.