Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Perlito5 - TODO update
  • Loading branch information
fglock committed Sep 11, 2013
1 parent 87c649e commit 945df32
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions TODO-perlito5
Expand Up @@ -244,17 +244,28 @@ TODO list for Perlito5

* Javascript backend

-- unary minus
special cases for string and bareword
-- 'require 5.006;'
# Can't locate 5.006 in @INC

-- variable declaration in expressions
our $Verbose ||= 0;
our (%Cache);
local $SIG{__WARN__};
my $args = @_ or @_ = @$exports;

-- 'next', 'last' in expression
(*{"${callpkg}::$sym"} = \&{"${pkg}::$sym"}, next)
... ) and last

-- 'x' in list context
@{$cache}{@$ok} = (1) x @$ok;

-- '&' prototype
add tests; see Try::Tiny

-- AUTOLOAD() called from UNIVERSAL autovivifies packages
add tests

-- code emitter for first argument of sort() and grep()

-- prototype() can be set by aliasing:
*x = sub ($$) { 123 }; *y = *x; print prototype(\&y) # $$

Expand Down

0 comments on commit 945df32

Please sign in to comment.