CGI::Bus::udata - User Data Store
use CGI::Bus; $s =CGI::Bus->new(); $s->udata->param
This module is a user data store. Uses filesystem, CGI::Bus::fut, CGI::Bus::file. See CGI::Bus::Base for inherited slots and methods.
User data hash ref. Should be used via param calls.
param
User data joined hash ref. Should be used via paramj calls.
paramj
User data file CGI::Bus::file object. Used internally.
Subdirectories size to split key value (username) to, or splitter sub{}. 0 - do not split, default.
Path to users directories. Default is tpath('udata')
The most commonly used are param, paramj, store.
store
Returns CGI::Bus::file object for key (username) given.
Filesystem path for key (username) given.
Load current user data with CGI::Bus::file dumpload call. Automatically called within param and paramj calls if needed.
dumpload
Access to user data hash ref. Automatically calls load if needed.
load
Like param calls, but for joined data of user and groups this user belongs to.
Store current user data with CGI::Bus::file dumpstore call
dumpstore
Generate list of users and groups data exists for. Is used by CGI::Bus::uauth when application user authentication
Unload current user data, init object buffer to automatically load data if needed
Implemented and Documented.
Review.
Andrew V Makarow <makarow at mail.com>
2 POD Errors
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head2'
'=item' outside of any '=over'
To install CGI::Bus, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Bus
CPAN shell
perl -MCPAN -e shell install CGI::Bus
For more information on module installation, please visit the detailed CPAN module installation guide.