Help for this page

Select Code to Download


  1. or download this
    ++$counted_quotes while $string =~ /"/g;
    
  2. or download this
    my $string = 'first-item "second item" ' .
     'third-item "fourth item"';
    ...
    print 'Unquoted: ',
     join(', ', @{$items{'unquoted'}}),
      "\n";