Created
January 6, 2016 13:22
-
-
Save zoffixznet/d8ed10c0be4dd19bfe8e 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
zoffix@:/tmp/tmp.MPQYRB1aVB$ cat Foo.pm6 | |
my $x = rand; | |
class Foo { method bar { say $x } } | |
zoffix@:/tmp/tmp.MPQYRB1aVB$ perl6 -I. -MFoo -e 'loop { say Foo.new.bar; GLOBAL::<Foo>:delete; EVALFILE "Foo.pm6"; sleep 2}' | |
0.581546950016309 | |
True | |
0.581546950016309 | |
True | |
0.581546950016309 | |
True | |
^C | |
zoffix@:/tmp/tmp.MPQYRB1aVB$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment