Help for this page

Select Code to Download


  1. or download this
    document: chunk(s?) /\z/
    chunk: open chunk close | word(s)
    open: "<open>"
    close: "<close>"
    word: /\w+/
    
  2. or download this
    document: stuff /\z/ { return $item{stuff} }
    stuff: chunk(s?) { return [map {@$_} @{$item[1]} ] } # flatten adjacen
    +t arrayrefs
    ...
    open: "<open>"
    close: "<close>"
    word: /\w+/