Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DBD-Oracle CPAN distribution.

Report information
The Basics
Id: 7648
Status: resolved
Priority: 0/
Queue: DBD-Oracle

People
Owner: Nobody in particular
Requestors: philip [...] utiba.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: errors in DBD-Oracle doco
Download (untitled) / with headers
text/plain 510b
A couple of the code samples here (http://search.cpan.org/~timb/DBD-Oracle-1.15/Oracle.pm) seem to contain errors. The two that I found are in the sample labelled "Example: Streaming character data from the database" The last 3 lines: while( my $data = $dbh->ora_lob_read( $char_locator, $offset, $chunk_size ) { print STDOUT $data; } should be (I think): while( my $data = $dbh->ora_lob_read( $char_locator, $offset, $chunk_size )) { print STDOUT $data; $offset +=length($data); }
Already fixed in recent release candidates for 1.16. Thanks.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.