Skip to content

Commit

Permalink
Perlito5 - update example in html/perlito5.html
Browse files Browse the repository at this point in the history
  • Loading branch information
fglock committed Dec 20, 2011
1 parent 3045bba commit 26ad03c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion html/perlito5.html
Expand Up @@ -15,6 +15,9 @@ <h1>"Perlito" Perl 5 Compiler</h1>

package Main;

my $out = $Document->getElementById('print-result');
$out->{'value'} = "using the 'document' object\n";

say "hello, World!";

say "goodbye $_" for 1 .. 3;
Expand Down Expand Up @@ -51,7 +54,7 @@ <h1>"Perlito" Perl 5 Compiler</h1>
}

function execute() {
var v_document = document;
var v_Document = document;
var source = document.getElementById('source').value;
var pos = 0;
var ast;
Expand Down

0 comments on commit 26ad03c

Please sign in to comment.