Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 25, 2019 12:00
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 Whateverable/ee2992946b84eca0f78a1bffd950ea23 to your computer and use it in GitHub Desktop.
Save Whateverable/ee2992946b84eca0f78a1bffd950ea23 to your computer and use it in GitHub Desktop.
evalable6
my %foo = { :1a, :2b, :3c, :5c }; while %foo.values.any != 2 { %foo.values.pick = 2; print "." }; say %foo
Potential difficulties:
Useless use of hash composer on right side of hash assignment; did you mean := instead?
at /tmp/8qYtcUDs45:1
------> my %foo = { :1a, :2b, :3c, :5c }⏏; while %foo.values.any != 2 { %foo.valu
{a => 1, b => 2, c => 5}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment