Help for this page

Select Code to Download


  1. or download this
    >perl -wMstrict -MData::Dump -le
    "my $s = 'AAA BBB CCC DDD AAA BBB';
    ...
    ]
    
    ["AAA", "BBB", "AAA", "BBB"]
    
  2. or download this
    >perl -wMstrict -MData::Dump -le
    "use 5.010;
    ...
     dd \@matches
    "
    ["AAA", "BBB", "AAA", "BBB"]