# New Ticket Created by  Gabor Szabo 
# Please include the string:  [perl #75544]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75544 >


use v6;

say 2;
exit;


will gives the following error:

  in main program body at line 1

and the exit code is 1

The same happens if I call   exit(0); or
exit(42);

Reply via email to