Advertisement
Guest User

Untitled

a guest
Apr 24th, 2015
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. sub closure($n) {
  2. say "outer";
  3. return if $n == 0;
  4. my $x = -> $n {
  5. say "inner";
  6. return if $n == 0;
  7. &?ROUTINE(0);
  8. }
  9. $x(1);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement