Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl 
    use strict;
    use warnings;
    ...
    while (my $results = $prolog->results) {
        print join(',' =>@{$results}[1 .. 5]), $/;
    }
    
  2. or download this
    $prolog->query('one_hundred(4,B,C,45,E).');
    while (my $results = $prolog->results) {
        print join(',' =>@{$results}[1 .. 5]), $/;
    }