diff --git a/building.md b/building.md index 1c8ed8b..dc7c8e5 100644 --- a/building.md +++ b/building.md @@ -57,7 +57,7 @@ Running the Build $ git clone https://github.com/haukex/webperl.git $ cd webperl -2. Install the [prerequisites](#Prerequisites). +2. Install the [prerequisites](#prerequisites). 3. Edit the configuration file, `./build/emperl_config.sh`, to fit your system. For a first build, just make sure the path to diff --git a/using.md b/using.md index a644517..457065e 100644 --- a/using.md +++ b/using.md @@ -14,6 +14,19 @@ Some things may not work yet, and parts of the API may still change. Your feedback is always appreciated! +- [Basic Usage](#basic-usage) + - [Serving WebPerl](#serving-webperl) + - [Including Perl code in your HTML](#including-perl-code-in-your-html) +- [The Perl Interpreter and its Environment](#the-perl-interpreter-and-its-environment) + - [Memory Management and Anonymous `sub`s](#memory-management-and-anonymous-subs) + - [Virtual Filesystem](#virtual-filesystem) +- [webperl.js](#webperljs) + - The JS `Perl` object +- [WebPerl.pm](#webperlpm) + - Perl <-> JavaScript mappings +- [The Mini IDE](#the-mini-ide) + + Basic Usage ----------- @@ -70,7 +83,7 @@ list, then add `use WebPerl ...;` as one of the first five lines of your Perl co If you don't have any such script tags in the document, Perl won't be run automatically, and you can control Perl in detail via the JavaScript `Perl` -object provided by [webperl.js](#webperl.js). +object provided by [webperl.js](#webperljs). Note that unlike JavaScript, which is run immediately, WebPerl will always be loaded and run asynchronously from the page load. If you use `