Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

AI::Perlog Unification help

by Ovid (Cardinal)
on Aug 13, 2002 at 21:17 UTC ( [id://189943]=perlquestion: print w/replies, xml ) Need Help??

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
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://189943]
Approved by FoxtrotUniform
Front-paged by ignatz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-03-29 09:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found