Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
hide MAIN_HELPER from bactraces. masak++
  • Loading branch information
moritz committed Mar 3, 2012
1 parent efad32e commit b8a20ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Main.pm
Expand Up @@ -22,7 +22,7 @@
# * Allow exact Perl 6 forms, quoted away from shell
# * Fix remaining XXXX

my sub MAIN_HELPER($retval = 0) {
my sub MAIN_HELPER($retval = 0) is hidden_from_backtrace {
# Do we have a MAIN at all?
my $m = callframe(1).my<&MAIN>;
return $retval unless $m;
Expand Down

0 comments on commit b8a20ce

Please sign in to comment.