-
-
21 Jul 2009 21:33:39 UTC
- Distribution: RWDE
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (1)
- Testers (58 / 0 / 0)
- Kwalitee
Bus factor: 0- License: unknown
- Activity
24 month- Tools
- Download (53.38KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
++ed by:1 non-PAUSE user- Dependencies
- Apache::Session
- Cache::Memcached
- Crypt::CBC
- Crypt::Rijndael
- DBD::Pg
- Data::Dumper
- Data::Validate::Domain
- Digest::HMAC_SHA1
- Digest::MD5
- Error
- Gearman::Client
- Gearman::Worker
- HTTP::Date
- MIME::Base64
- Mail::RFC822::Address
- NEXT
- Net::SMTP
- Net::Server
- SCGI
- Storable
- Sys::Syslog
- Template
- YAML
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
normalize
"Normalize" the data to the data type for the database. Returns value suitable for insertion into database, or undef on error. field type 'crypt' stores data in DB encrypted but presents to object as plain text. Specify it as "crypt:KEY" where KEY is used for the encryption key.
denormalize
"Denormalize" the data based on the data type for the database. Returns value suitable for display, or undef on error. Currently only does stringified ARRAY to arrayref, SET to href of keys indicating which fields are in the set, bitvectors, timestamps, and encrypted fields. Stringified ARRAYs can also be converted to postgres internal array type which we call "list".
create_record
Create a record with values specified in the data fields of this object. Returns the ID created on success, or throws an exception on failure. Depending on the hash set up it may depend on the database to create a unique id.
Exceptions classes thrown are
dberr
on database error ordata.duplicate
for a duplicate key specified.Module Install Instructions
To install RWDE, copy and paste the appropriate command in to your terminal.
cpanm RWDE
perl -MCPAN -e shell install RWDE
For more information on module installation, please visit the detailed CPAN module installation guide.