Created
January 6, 2017 17:04
-
-
Save zoffixznet/b380cf13348e280e789e2b4a18fae7ac to your computer and use it in GitHub Desktop.
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
$ tree | |
. | |
├── v1 | |
│ ├── Foo.pm6 | |
│ └── META6.json | |
└── v2 | |
├── Foo.pm6 | |
└── META6.json | |
2 directories, 4 files | |
$ perl6 -Iv1 -Iv2 -e 'sub reload ($v) { "use Foo:ver<$v>; &foo".EVAL }; my &foo = reload 1; foo; sleep 10; &foo = reload 2; foo' | |
one | |
one |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment