Hello Rory,
Saturday, August 25, 2001, Rory O'Connor [EMAIL PROTECTED] wrote:
ROC thanks all for your help. It is my understanding that chomp($var); will
ROC only strip the \n from the end of a string. I'm dealing with strings
ROC that could potentially be littered with newline characters.
On Sat, 25 Aug 2001, Maxim Berlin wrote:
Hello Rory,
snip
p.s. does anyone know, why i can not write $a =~ s/$///g; ?
You can.
$a =~ s!$/!!g;
Perl just gets confused with the /'s, you have to use alternate
delimiters.
Chris
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional