On 10-12-27 06:30 PM, Uri Guttman wrote:
yes, you have misunderstood it. where did you read or learn that /x ignores whitespace in the data?
He probably got the idea since other non-alphanumeric characters in a variable must be escaped; un-escaped ones act like meta-characters.
$ perl -e'$v="+";$ARGV[0]=~/1$v/&&print"yes\n"' 0 $ perl -e'$v="+";$ARGV[0]=~/1$v/&&print"yes\n"' 1 yes $ -- Just my 0.00000002 million dollars worth, Shawn Confusion is the first step of understanding. Programming is as much about organization and communication as it is about coding. The secret to great software: Fail early & often. Eliminate software piracy: use only FLOSS. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/