On Sun Sep 26 08:05:13 2010, moritz wrote:
> works fine directly:
>
> $ cat args.pl
> say @*ARGS.perl;
> say @*ARGS.join('|');
> $ ./perl6 args.pl foo bar 123
> ["foo", "bar", "123"]
> foo|bar|123
>
> # but beware of compilation:
> $ ./perl6 --target=pir args.pl > args.pir
> $ ./parrot_install/bin/parrot args.pir foo bar
> []
>
> $
>
> Compiled to pbc or to an executable it doesn't work either.
>
> Found by Grimnir_++ on #perl6.
>
> Cheers,
> Moritz
with a recent rakudo/parrot, the pir version now says:
Contextual $*ST not found
--
Will "Coke" Coleda