Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created February 4, 2020 23:23
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/ca3def756fcf88ffa44d822c762c6f33 to your computer and use it in GitHub Desktop.
Save Whateverable/ca3def756fcf88ffa44d822c762c6f33 to your computer and use it in GitHub Desktop.
evalable6
sub foo (:@type ('request'), :@params (:$path ('/login'), :$method ('GET') ) ) { say @params }foo :type['request'], :params[ :path['/login'], :method['GET'] ]
(exit code 1)
===SORRY!=== Error while compiling /tmp/f1vBUmhLN9
Strange text after block (missing semicolon or comma?)
at /tmp/f1vBUmhLN9:1
------> '), :$method ('GET') ) ) { say @params }⏏foo :type['request'], :params[ :path['/l
expecting any of:
infix
infix stopper
statement end
statement modifier
statement modifier loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment