Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: How do I handle mid-line carriage returns in a flatfile database?

by cianoz (Friar)
on Aug 26, 2000 at 16:32 UTC ( [id://29800]=note: print w/replies, xml ) Need Help??


in reply to How do I handle mid-line carriage returns in a flatfile database?

Usually i prefer to uri-encode multiline fields so i can preserve LF and CR... you can do this way:
use URI::Escape; my $safe_field = uri_escape($field); ## now you can put $safe_field in the db ## without worry about CR/LF a ## restore it: $field = uri_unescape($safe_field);
  • Comment on Re: How do I handle mid-line carriage returns in a flatfile database?
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-04-19 21:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found