Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: How to insert a file into a CLOB object?

by daxim (Chaplain)
on Sep 04, 2013 at 15:37 UTC ( #1052377=note: print w/replies, xml ) Need Help??


in reply to How to insert a file into a CLOB object?

What do the data look like? If they are encoded like I think they are, simply:
use File::Slurp qw(read_file); my $lob = read_file 'data.txt', { binmode => ':raw' };

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1052377]
help
Chatterbox?
NodeReaper adds to his collection

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2017-05-26 18:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?