Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Who's a thief? -- the follow up

by Ovid (Cardinal)
on Jan 14, 2005 at 04:54 UTC ( [id://422158]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    steals(PERP, STUFF) :-
        thief(PERP),
        valuable(STUFF),
    ...
    owns(merlyn,gold).
    owns(ovid,rubies).
    knows(badguy,merlyn).
    
  2. or download this
    #!/usr/local/bin/perl
    use strict;
    use warnings;
    ...
    while(swi_next) {
        print swi_var(STUFF), $/;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-03-19 03:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found