Help for this page

Select Code to Download


  1. or download this
    for my $word (@sen) {
      next if ($word =~m/\A\s*\z/);
      do_something(word);
    }
    
  2. or download this
    my @clean_sen = grep { !m/\A\s*\z/ } @sen;
    
  3. or download this
    @sen=split(/\s+/,$sent);