- or download this
#!/usr/bin/perl
...
sub children{
return list( @{ $_[0]->{_list} });
}
- or download this
package main;
...
EOG
- or download this
my $tree = Branch->new(3)->add_child(
Branch->new(1.1)->add_child(
...
my $result = $grammar->apply($tree, 'len');
print "$result\n";
- or download this
Deep recursion on subroutine "Language::AttributeGrammar::Thunk::get"
+at (eval 29) line 5.
- or download this
# find the global minimum and propagate it back down the tree
ROOT: $/.gmin = { $/.min }
...
^
|
this is superfluous