Help for this page

Select Code to Download


  1. or download this
    while( <DATA> ) {
      my @matches = /(\w+)/g;
      print join( ',', @matches ), "\n";
    }
    
  2. or download this
    while ( <DATA> ) {
      while ( /(\w+)/g ) {
        print $1, "\n";
      }
    }