Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created August 3, 2016 08:20
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/83c9c7f81ad113e16e3567ab649d0f78 to your computer and use it in GitHub Desktop.
Save Whateverable/83c9c7f81ad113e16e3567ab649d0f78 to your computer and use it in GitHub Desktop.
committable
releases sub foo($x where { False or warn "Counter: {$++}" }) { }; foo(42)
¦«2015.10,2015.11,2016.02,2016.03,2016.04,2016.05,2016.06,2016.07,HEAD»: Counter: 0 in block at /tmp/Y9v9Q9nn3p:1
Counter: 1 in block at /tmp/Y9v9Q9nn3p:1
Constraint type check failed for parameter '$x'
in sub foo at /tmp/Y9v9Q9nn3p:1
in block <unit> at /tmp/Y9v9Q9nn3p:1
«exit code = 1»
|«2015.12»: Counter: 0 in block at /tmp/Y9v9Q9nn3p line 1
Counter: 1 in block at /tmp/Y9v9Q9nn3p line 1
Constraint type check failed for parameter '$x'
in sub foo at /tmp/Y9v9Q9nn3p line 1
in block <unit> at /tmp/Y9v9Q9nn3p line 1
«exit code = 1»
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment