Check if already loaded package and preload else
return : 0 - fail load class 1 - suss loaded -1 - already loaded
convert string like:
config=/tmp/tests.ini;host=test.local
to hash:
{ config=>'/tmp/tests.ini', host=>'test.local' }
Get classes by check ENV variables
get_classes( wdEngine=> $def_eng_class)
return ref to hash
Calculate time from str
expire_calc('+1d') # current time() + 1 day expire_calc('+1y') # current time() + 1 year expire_calc('+1M') # current time() + 1 Month expire_calc('+1m') # current time() + 1 minute
return : <unix_timestamp>
To install WebDAO, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebDAO
CPAN shell
perl -MCPAN -e shell install WebDAO
For more information on module installation, please visit the detailed CPAN module installation guide.