----- Original Message -----
From: "Irfan Sayed" <irfan_sayed2...@yahoo.com>
To: "John W. Krahn" <jwkr...@shaw.ca>; "Perl Beginners" <beginners@perl.org>
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: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/