Help for this page

Select Code to Download


  1. or download this
    $pg->add_fact( owns => ('Ovid', 'Cheap Whiskey'));
    
  2. or download this
    [0]{2}[1]{3} = {}
    [1]{3} = {}
    
  3. or download this
    # object ids are hashes and argument positions are arrays
    $self->{_arg_levels}{2}[0]{2}[1]{3};
    
  4. or download this
        $_ = $self->_get_vertex( $_ ) foreach @args;
    
    ...
            $a = $z;
        }
        return 1;
    
  5. or download this
    $pg->add_fact( gnarfle => qw/ foo bar baz / );
    $pg->add_fact( gnarfle => qw/ foo tac toe / );
    ...
    my $results = gnarfle( qw/ $one _ $two / );
    # or
    my $results = gnarfle( qw/ $one tac $two / );
    
  6. or download this
    foo baz
    foo toe
    tic toe
    
  7. or download this
    foo toe
    tic toe