----- Original Message -----
From: "Irfan Sayed" <[email protected]>
To: "John W. Krahn" <[email protected]>; "Perl Beginners" <[email protected]>
Sent: Thursday, April 28, 2011 9:28 AM
Subject: Re: regular expression
my logic was to just put the space character in place of comma and keep
rest as it is
but unfortunately that does not work
Well, to be precise, your conceptual logic was fine; the implementation was
flawed. As several have pointed out, you weren't replacing the comma with a
_space_ *character*, but with the RegExp _whitespace_ *character class*.
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/