Help for this page
WORKING #!/usr/bin/perl ... $string =~ /$word\s*?(\S+)/; my $next_word = $1; print "The next word after $word is $next_word\n";
NOT WORKING ... The next word after info is John The next word or number after John is