Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Re: AI::Perlog Unification help

by Ovid (Cardinal)
on Aug 13, 2002 at 23:43 UTC ( #189955=note: print w/ replies, xml ) Need Help??

in reply to Re: AI::Perlog Unification help
in thread AI::Perlog Unification help


I just added the following line to the end of facts.t:

ok( $pg->gnarfle( qw/ foo bar baz /), '... this should still match +' ); ok( $pg->gnarfle( qw/ foo tac toe /), '... as should this.' );

The first one fails (as you said it would). I updated the number of tests and, for a lark, ran this against an older copy. Still fails. Bummer. Working on a fix now. Wish I knew how I missed that one.

Update: Quick fix, fortunately. I needed to test to see if I had an array ref there to ensure that I added to it rather than overwriting it. You can download the new code (with updated tests) here.


Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

Comment on Re: Re: AI::Perlog Unification help
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://189955]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2015-11-29 21:30 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (753 votes), past polls