Name : perl-DBIx-BLOB-Handle
| |
Version : 0.2
| Vendor : RPMForge
|
Release : 1.2.el4.rf
| Date : 2008-03-18 16:04:53
|
Group : Applications/CPAN
| Source RPM : perl-DBIx-BLOB-Handle-0.2-1.2.el4.rf.src.rpm
|
Size : 0.02 MB
| |
Packager : Fabian Arrotin < fabian_arrotin_arrfab_net>
| |
Summary : Read Database Large Object Binaries from file handles
|
Description :
DBI has a blob_copy_to_file method which takes a file han- dle argument and copies a database large object binary (LOB) to this file handle. However, the method is undocu- mented and faulty. Constructing a similar method yourself is pretty simple but what if you wished to read the data and perform operations on it? You could use the DBI\'s blob_read method yourself to process chunks of data from the LOB or even dump its contents into a scalar, but maybe it would be nice to read the data line by line or piece by piece from a familiar old filehandle?!
DBIx::BLOB::Handle constructs a tied filehandle that also extends from IO::Handle and IO::Selectable. It wraps DBI\'s blob_read method. By making LOB\'s available as a file han- dle to read from we can process the data in a familiar (perly) way.
|
RPM found in directory: /vol/rzm3/linux-dag/dag/redhat/el4/en/ppc/fabian/RPMS |