Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created February 4, 2020 23:24
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/97ee9a57a5acd132d177d20457bf48fe to your computer and use it in GitHub Desktop.
Save Whateverable/97ee9a57a5acd132d177d20457bf48fe 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/SXbJcDDaHj
Strange text after block (missing semicolon or comma?)
at /tmp/SXbJcDDaHj: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