Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoffixznet/9e6fc8ddfe921198dbce98776c2600c6 to your computer and use it in GitHub Desktop.
Save zoffixznet/9e6fc8ddfe921198dbce98776c2600c6 to your computer and use it in GitHub Desktop.
zoffix@VirtualBox:/tmp/tmp.cSaUWLmTC7$ ./perl6-m -e 'my $g = "" ~ $*GROUP; eager $*GROUP.WHAT; say 42'
42
zoffix@VirtualBox:/tmp/tmp.cSaUWLmTC7$ ./perl6-m -e 'my $g = "" ~ $*GROUP; $*GROUP.WHAT; say 42'
42
zoffix@VirtualBox:/tmp/tmp.cSaUWLmTC7$ ./perl6-m -e 'my $g = "" ~ $*GROUP; $*GROUP.WHAT(); say 42'
42
zoffix@VirtualBox:/tmp/tmp.cSaUWLmTC7$ ./perl6-m -e 'my $g = "" ~ $*GROUP; $*GROUP.WHAT.sink; say 42'
42
zoffix@VirtualBox:/tmp/tmp.cSaUWLmTC7$ ./perl6-m -e 'my $g = "" ~ $*GROUP; say $*GROUP.WHAT; say 42'
Cannot look up attributes in a type object
in block <unit> at -e line 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment