repo.or.cz
/
pugs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[STD] Clear $*IN_DECL in body of packageoids so package Foo { $frog++ } fails
[pugs.git]
/
src
/
perl6
/
tryfoo
blob
818cb1e0a08ae8a5d449ce18537e9b4707e130e4
1
#!/usr/bin/env perl
2
3
BEGIN
{
$ENV
{
STD5DEBUG
} =
16383
; }
4
use
STD
;
5
use
utf8
;
6
use
YAML
::
XS
;
7
use
Encode
;
8
9
print
"Starting...
\n
"
;
10
my
$what
=
'foo'
;
11
my
$text
=
"
@ARGV
"
;
12
my
$r
=
STD
->
new
(
$text
)->
$what
();
13
print
Dump
(
$r
);