Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2016-08-28 13:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (393 votes). Check out past polls.