@@ -4,7 +4,7 @@ use warnings;
44use Carp;
55use Data::Dumper;
66use Scalar::Util qw( weaken ) ;
7- our $VERSION = ' 2.2.0 ' ;
7+ our $VERSION = ' 2.2.1 ' ;
88
99my $GlobalRef = {};
1010
@@ -350,7 +350,6 @@ sub push_perl {
350350 }
351351
352352 elsif ( $ref eq ' ARRAY' ) {
353- $self -> dump ();
354353 my $arr_idx = $self -> push_array();
355354 $stash -> {$val } = $self -> get_heapptr(-1);
356355 my $len = scalar @{$val };
@@ -980,6 +979,8 @@ package JavaScript::Duktape::Util;
9809791;
981980
982981__END__
982+ =encoding utf-8
983+
983984=head1 NAME
984985
985986JavaScript::Duktape - Perl interface to Duktape embeddable javascript engine
@@ -1033,7 +1034,7 @@ setting number below 256k will croak.
10331034 max_memory => 256 * 1024 * 2
10341035
10351036You can resize the memory allowed to consume on different executions by calling
1036- C<resize_memory > method, see L<Sandboxing> section below.
1037+ C<resize_memory > method, see L</ Sandboxing> section below.
10371038
10381039=item timout
10391040
@@ -1048,7 +1049,7 @@ You can override this value later on another code evaluation by calling C<set_ti
10481049
10491050 $js->set_timeout(25);
10501051
1051- See L<Sandboxing> section below
1052+ See L</ Sandboxing> section below
10521053
10531054=back
10541055
@@ -1365,6 +1366,12 @@ See C<examples/this.pl>
13651366
13661367=back
13671368
1369+ =head1 DEAFULT JAVASCRIPT FUNCTIONS
1370+
1371+ JavaScript::Duktape has C<alert > and C<print > functions available as global
1372+ functions to javascript, where C<alert > prints to STDERR and C<print > prints
1373+ to STDOUT.
1374+
13681375=head1 CAVEATS
13691376
13701377=head2 VM methods
0 commit comments