Never mind. Found it on another perl email list.
s/[\n\r]+$/;
Brian Lasher
Best Practices and Yield Enhancement Team
Catalog DSP Product Engineering
Texas Instruments
281-274-2913 (W)
281-684-4699 (C)
281-274-2279 (F)
[EMAIL PROTECTED]
-Original Message-
From: Lasher, Brian
Sent: Thu
You might want to try using the input line separator system variable
"$/". By default it is "\n", but you can set it to whatever you like
e.g.
$/ = " "; #This makes the newline character a whitespace
so then
$testValue1 = "a b";
might be what you want to accomplish, I'm not sure,
Hope this hel