[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl-WebCGI] Converting CR's LF's etc.



Pretty low level question here...
Any one got a good pointer on how to convert Carriage returns/linefeeds
etc.  I just need to be able to capture them and then I'll convert them
into <br> tags .  Basically I want it to take the cr , lf, or crlf and make
it  like the user put it in (if they put a hard return).  I know the ascii
values are 10 and 13.  I've done this with other scripting languages
(ToolBook, HyperCard etc.) but not in Perl yet.  Is it just a matter of
converting Hex values?

Thanks,

Jason

-------------------
Jason White
<Insert Title Here>
jason.white@usu.edu



==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org