Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Perlito5 - parser TODO - add additional variants of "for"
  • Loading branch information
fglock committed Mar 14, 2013
1 parent bbc5fbb commit ba5acc1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions TODO-perlito5
Expand Up @@ -56,6 +56,16 @@ TODO list for Perlito5
check signature in sort()
fix the prototype for 'stat(*)' (see t/test.pl in the perl test suite)

-- add additional variants of "for"

# "our" with localization
$ perl -e ' use strict; our $x = 123; for our $x (1,2,3) { 2 } print "$x\n" '
123

# variable in scope with localization
$ perl -e ' use strict; my $x = 123; for $x (1,2,3) { 2 } print "$x\n" '123
123

-- add "print", "printf", "say" special parsing - note this is related to indirect object notation

indirect object notation
Expand Down

0 comments on commit ba5acc1

Please sign in to comment.