Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Handling BLOB data in ORACLE using perl script

by CountZero (Bishop)
on Sep 24, 2015 at 05:41 UTC ( [id://1142866]=note: print w/replies, xml ) Need Help??


in reply to Handling BLOB data in ORACLE using perl script

What version of DBI are you using?

The documentation of recent versions does not have a fetchrow method anymore; but rather fetchrow_arrayref (returns an array-ref), fetchrow_array (returns an array) or fetchrow_hashref (returns a hash-ref).

If you replace your fetchrow call by fetchrow_array and assign the result to an array, you will find the data directly in the array and you do not need to dereference it.

Probably the old fetchrow is now silently aliased to fetchrow_arrayref.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1142866]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-18 20:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found