#!/usr/bin/env raku use v6.d; # we want to load modules from the same directory as this file my $repo = CompUnit::Repository::FileSystem.new(prefix=> $?FILE.IO.parent); my $c = $repo.need(CompUnit::DependencySpecification.new(:short-name<Foo>)); say $c; say $c.handle.globalish-package<Foo>.new(:1thing).thing;