Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created December 11, 2019 03:16
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/0478f0109fe999aafd419ff054f3643b to your computer and use it in GitHub Desktop.
Save Whateverable/0478f0109fe999aafd419ff054f3643b to your computer and use it in GitHub Desktop.
evalable6
my $start = 0; my $end = 5; my @conds = (* >= $start); @conds.push: * < $end if $end - @cond.elems; say (1..14).toggle(:off, |@conds)
(exit code 1)
===SORRY!=== Error while compiling /tmp/6PBAFcRwTq
Variable '@cond' is not declared. Did you mean '@conds'?
at /tmp/6PBAFcRwTq:1
------> start); @conds.push: * < $end if $end - ⏏@cond.elems; say (1..14).toggle(:off, |@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment