Help for this page

Select Code to Download


  1. or download this
    use Parse::RecDescent;
    use Data::Dump::Streamer;
    ...
    my $parser = new Parse::RecDescent ($grammar);
    
    Dump ($parser->test ("x = 1\ny = 2\nz = 3"));
    
  2. or download this
    $ARRAY1 = [
                { x => 1 },
                { y => 2 },
                { z => 3 }
              ];
    
  3. or download this
    $HASH1 = {
               x => 1,
               y => 2,
               z => 3
             };