Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my @items = $str =~ /\w+/g;
    
    print "$_\n" for @items;
    
  2. or download this
    item1
    item2
    item3
    item4