Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Perlito5 - parser - more TODO special cases

  • Loading branch information...
commit 5f528ed8b210c18a79217eeb1b176ed656801953 1 parent 1395266
@fglock authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 TODO-perlito5
View
9 TODO-perlito5
@@ -73,6 +73,8 @@ TODO list for Perlito5
my $t = Class::->new # this works
my $u = new Class::; # this also works (even with sub main in the current package)
+-- "namespace" parsing
+
$ perl -e ' { package X; sub print { CORE::print(">$_[1]<\n") } } my $x = bless {}, "X"; print $x "xxx" '
Not a GLOB reference at -e line 1.
@@ -91,6 +93,13 @@ TODO list for Perlito5
$ perl perlito5.pl -MO=Deparse -e ' ::X::x::y '
join("", ::{'main::X::'} x main::y);
+ $ perl -MO=Deparse -e ' ::X '
+ '???';
+
+ $ perl -MO=Deparse -e ' sub X {} ::X '
+ sub X { }
+ X;
+
-- strict and warnings: create options like 'subs', 'refs'
-- clean up:

0 comments on commit 5f528ed

Please sign in to comment.
Something went wrong with that request. Please try again.