Damjan Pelemis > RWDE-573 > RWDE::Web::AbstractCommand

Download:
RWDE-573.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 509   Source  

baggage_handling

get_missing_hash

Create and populate a hash with input from a comma delim string

FIELDNAME($field[,$value])

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.

FIELDNAME()

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.

Example:

 $rec->password('blahblah');
 print $rec->password();
syntax highlighting: