Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    sub children{
      return list( @{ $_[0]->{_list} });
    }
    
  2. or download this
    package main;
    
    ...
    
    EOG
    
  3. 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";
    
  4. or download this
    Deep recursion on subroutine "Language::AttributeGrammar::Thunk::get" 
    +at (eval 29) line 5.
    
  5. or download this
    # find the global minimum and propagate it back down the tree
    ROOT:   $/.gmin        = { $/.min }
    ...
                         ^
                         |
                        this is superfluous