Create and populate a hash with input from a comma delim string
All field names of the record are accessible via the field name. If a second parameter is provided, that value is stored as the data, otherwise the existing value if any is returned. Throws an 'undef' exception on error. It is intended to be called by an AUTOLOAD() method from the subclass.
Example:
$rec->owner_email('new@add.ress'); $rec->user_addr2(undef); print $rec->user_fname();
Would be converted by AUTOLOAD() in the subclass to calls like
$rec->FIELDNAME('owner_email','new@add.ress');
and so forth.
All field names of the record are accessible via the field name. If a parameter is provided, that value is stored as the data, otherwise the existing value if any is returned. Throws an 'undef' exception on error.
$rec->password('blahblah'); print $rec->password();
To install RWDE, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RWDE
CPAN shell
perl -MCPAN -e shell install RWDE
For more information on module installation, please visit the detailed CPAN module installation guide.