# Pastebin EOJK5jTo MacBook-Pro-de-Fernando:update fernando$ for f in v1/META6.json v1/A.pm6 v2/META6.json v2/A.pm6 test.t ; do echo -e "\n# $f"; cat $f; echo "# --------------------"; done # v1/META6.json { "perl" : "6.*", "name" : "test", "version" : "1", "provides" : { "A": "A.pm6" }, "source-url" : "git@github.com:FCO/DateTime-Extended.git" } # -------------------- # v1/A.pm6 class A:ver<1> { has $.v1api = "OK" } # -------------------- # v2/META6.json { "perl" : "6.*", "name" : "test", "version" : "2", "provides" : { "A": "A.pm6" }, "source-url" : "git@github.com:FCO/DateTime-Extended.git" } # -------------------- # v2/A.pm6 class A:ver<2> { has $.v2api = "OK" } # -------------------- # test.t use lib "."; use A; say A.new.v1api # -------------------- MacBook-Pro-de-Fernando:update fernando$ perl6 -Iv1 test.t OK MacBook-Pro-de-Fernando:update fernando$ perl6 -Iv2 test.t OK