- 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"));
- or download this
$ARRAY1 = [
{ x => 1 },
{ y => 2 },
{ z => 3 }
];
- or download this
$HASH1 = {
x => 1,
y => 2,
z => 3
};