The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Text::Amuse::Preprocessor::Parser - Stripped down Muse parser for Text::Amuse::Preprocessor

FUNCTIONS

parse_text($body)

Parse the string provided as argument and return a list of hashrefs with this structure:

  {
   type => "markup" || "text",
   string => $chunk
  }

the concatenation of the string values is equal to the original body (without carriage returns and null bytes, tabs normalized and final newline appended if missing).