This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nine@sphinx:~/test> tree lib/JDV | |
| lib/JDV | |
| ├── Foo | |
| │ ├── Bar.pm | |
| │ └── Baz.pm | |
| └── Qux.pm | |
| 1 directory, 3 files | |
| nine@sphinx:~/test> cat lib/JDV/Qux.pm | |
| class JDV::Qux { | |
| } | |
| nine@sphinx:~/test> cat lib/JDV/Foo/Bar.pm | |
| use JDV::Qux; | |
| class JDV::Foo::Bar { | |
| } | |
| # vim:ft=perl6 | |
| nine@sphinx:~/test> cat lib/JDV/Foo/Baz.pm | |
| use JDV::Qux; | |
| class JDV::Foo::Baz { | |
| } | |
| nine@sphinx:~/test> perl6 -Ilib -e 'use JDV::Foo::Bar; use JDV::Foo::Baz; my JDV::Foo::Bar $bar;' | |
| ===SORRY!=== | |
| Type 'JDV::Foo::Bar' is not declared | |
| at -e:1 | |
| ------> Bar; use JDV::Foo::Baz; my JDV::Foo::Bar⏏ $bar; | |
| Malformed my | |
| at -e:1 | |
| ------> o::Bar; use JDV::Foo::Baz; my JDV::Foo::⏏Bar $bar; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment