RDF-LDF

 view release on metacpan or  search on metacpan

lib/RDF/LDF.pm  view on Meta::CPAN


    my $iterator = sub {
        state $it;
        state $results = sub {};

        my $ret;

        # Loop over all variabe bindings with multiple matches
        while (!defined($ret = $results->())) {
            unless (defined $it) {
                # Find the an binding iterator for the best pattern from $bgpgs
                ($it,$bgps) = $self->_find_variable_bindings_($bgps);

                return undef unless $it;
            }

            # Update all the other bgps with the current binding..
            my $this_binding = $it->();

            return undef unless $this_binding;



( run in 0.619 second using v1.01-cache-2.11-cpan-df04353d9ac )