Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update docs/running.pod and perl6 --help output

--ll-backtrace is now --ll-exception. Add --profile
  • Loading branch information...
commit cf19ce4f97edc3bf4f1e240aee0aae4069a3d313 1 parent 21325bb
@moritz moritz authored
Showing with 10 additions and 2 deletions.
  1. +4 −1 docs/running.pod
  2. +6 −1 src/Perl6/Compiler.nqp
View
5 docs/running.pod
@@ -24,10 +24,13 @@ compiled code.
-o, --output=[name] specify name of output file
-v, --version display version information
--stagestats display time spent in the compilation stages
- --ll-backtrace display a low level backtrace on errors
+ --ll-exception display a low level backtrace on errors
+ --profile print profile information to standard error
Note that only boolean single-letter options may be bundled
+Output from C<--profile> can be visualized by C<kcachegrind>.
+
Supported stages for --target are:
parse past post pir evalpmc
View
7 src/Perl6/Compiler.nqp
@@ -61,10 +61,15 @@ class Perl6::Compiler is HLL::Compiler {
-o, --output=[name] specify name of output file
-v, --version display version information
--stagestats display time spent in the compilation stages
- --ll-backtrace display a low level backtrace on errors
+ --ll-exception display a low level backtrace on errors
+ --profile print profile information to standard error
+
Note that only boolean single-letter options may be bundled.
+ Output from --profile can be visualized by kcachegrind.
+
+
To modify the include path, you can set the PERL6LIB environment variable:
PERL6LIB=\"lib\" perl6 example.pl
Please sign in to comment.
Something went wrong with that request. Please try again.