This works as expected: > $string =~ m/e/mcg; > print "position is ".pos($string)."\n"; This gets confused and prints null for position. > my @matches = $string =~ m/e/mcg; > print "position is ".pos($string)."\n"; just because I capture the matches in my pattern, shouldn't mean my pos() value gets hosed, should it? Greg
- Re: [Boston.pm] this really looks like a bug. Greg London
- Re: [Boston.pm] this really looks like a bug. Ronald J Kimball
- Re: [Boston.pm] this really looks like a bug. Greg London
- Re: [Boston.pm] this really looks like a bug. Ronald J Kimball
