Filewatcher File Search File Search
Catalog
Content Search
» » » » » »

perl-DBIx-BLOB-Handle

Read Database Large Object Binaries from file handles

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.

Homepage:
Package version:0.2
Architecture:noarch
Distribution:Dag
Filename:perl-DBIx-BLOB-Handle-0.2-1.2.el5.rf.noarch.rpm

/usr/share/doc/perl-DBIx-BLOB-Handle-0.2/README

NAME
       DBIx::BLOB::Handle - Read Database Large Object Binaries
       from file handles

SYNOPSIS
       use DBI;

       use DBIx::BLOB::Handle;

       # use DBIx::BLOB::Handle qw( :INTO_STATEMENT );

       $dbh = DBI->connect('DBI:Oracle:ORCL','scott','tiger',
                           {RaiseError => 1, PrintError => 0 }
                              )

       or die 'Could not connect 
more»

/usr/share/man/man3/DBIx::BLOB::Handle.3pm.gz

Handle(3)        User Contributed Perl Documentation       Handle(3)



NAME
       DBIx::BLOB::Handle - Read Database Large Object Binaries from
       file handles

SYNOPSIS
       use DBI;

       use DBIx::BLOB::Handle;

       # use DBIx::BLOB::Handle qw( :INTO_STATEMENT );

       $dbh = DBI->connect('DBI:Oracle:ORCL','scott','tiger',
                           {RaiseError => 1, PrintError =
more»

/usr/share/doc/perl-DBIx-BLOB-Handle-0.2/Changes

Revision history for Perl extension DBIx::BLOB::Handle

0.1  Wed Apr 17 13:15 2002
     First release.

0.2  Thu Apr 18 19:37 2002
     Second release. Now does line based reading with the <$handle> operator
     and implements a much larger subset of the Tied Handle interface.

Browse inside perl-DBIx-BLOB-Handle-0.2-1.2.el5.rf.noarch.rpm

1.48 KB2014-11-27HEADER  view  23 mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download perl-DBIx-BLOB-Handle-0.2-1.2.el5.rf.noarch.rpm

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com