Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Oops, bareword exit doesn't work in NQP

  • Loading branch information...
commit 4b3feea1c76a0cd3471b5ef5ebce3c399d782a60 1 parent c264437
@sorear sorear authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  examples/tk.pl
View
2  examples/tk.pl
@@ -19,7 +19,7 @@
# NQP doesn't support named args starting with a dash
$mw.Button(
'-text', 'Quit',
- '-command', sub (*@_) { exit },
+ '-command', sub (*@_) { pir::exit(0) },
).pack;
&MainLoop();
Please sign in to comment.
Something went wrong with that request. Please try again.