Help for this page

Select Code to Download


  1. or download this
    my ($word1, $word2) = split(/\s+/);
    if defined($word2) {
       ...
    }
    
  2. or download this
    foreach $word (split /\s+/) {
       ...
    }