Welcome to the Monastery | |
PerlMonks |
Re: Storing multi-line form data in a flat file?by extremely (Priest) |
on Mar 16, 2001 at 02:13 UTC ( [id://64813]=note: print w/replies, xml ) | Need Help?? |
One way you do this is pick two special characters.
Pick ones that aren't likely to be used often like "\030"
and "\031". Now do this:
Now the only "\030"s that appear in the file are the record seperators and you do a simple match like that one to restore the occasional encoded values. --
In Section
Seekers of Perl Wisdom
|
|