[STD] Clear $*IN_DECL in body of packageoids so package Foo { $frog++ } fails
[pugs.git] / src / perl6 / tryfoo
blob818cb1e0a08ae8a5d449ce18537e9b4707e130e4
1 #!/usr/bin/env perl
3 BEGIN { $ENV{STD5DEBUG} = 16383; }
4 use STD;
5 use utf8;
6 use YAML::XS;
7 use Encode;
9 print "Starting...\n";
10 my $what = 'foo';
11 my $text = "@ARGV";
12 my $r = STD->new($text)->$what();
13 print Dump($r);