class CompUnit::DependencySpecification {
    has Str:D $.short-name is required;
    has $.version-matcher = True;
    has $.auth-matcher = True;
    has $.api-matcher = True;

    method Str(CompUnit::DependencySpecification:D:) {
        return "{$.short-name}:ver<{$.version-matcher}>:auth<{$.auth-matcher}>:api<{$.api-matcher}>";
    }
}

# vim: ft=perl6 expandtab sw=4

class CompUnit::DependencySpecification {
    has Str:D $.short-name is required;
    has $.version-matcher = True;
    has $.auth-matcher = True;
    has $.api-matcher = True;

    method Str(CompUnit::DependencySpecification:D:) {
        return "{$.short-name}:ver<{$.version-matcher // 'True'}>:auth<{$.auth-matcher // 'True'}>:api<{$.api-matcher // 'True'}>";
    }
}

# vim: ft=perl6 expandtab sw=4

Fix undefined warnings on throwing "Could not find module" errors
Fix undefined warnings on throwing "Could not find module" errors
