Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    my $next_word_2 = $1;
    print "The next word after $word is $next_word\n";
    print "The next word or number after $next_word is $next_word_2\n";