On Jan 16, 2004, at 4:43 PM, Tassilo von Parseval wrote:

Maybe B::perlstring() will do what you need:

[EMAIL PROTECTED]:~$ perl -lMB=perlstring -e '$var = "\n\r\f"; print perlstring( "$var bla\"\\ \n" )'
"\n\r\f bla\"\\ \n"

I didn't know about that subroutine. Thank you very much!


James


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to