in reply to frame shift in Perl string matching
Use a look ahead assertion:
my $str = "PPPP";
my $search = "PP";
my $count = () = $str =~ /(?=$search)/g;
There is no Extraterrestrial life
There aren't any suitably capable Extraterrestrials
Interstellar travel is too difficult
We're too uncool / not worth the trouble
What do you mean they haven't visited?
Results (523 votes). Check out past polls.