[perl #78056] compiling a script to PIR makes it lose its ability to handle command line arguments

2012-10-20 Thread Will Coleda via RT
On Sat Oct 08 13:21:02 2011, coke wrote: > 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: > >

[perl #78056] compiling a script to PIR makes it lose its ability to handle command line arguments

2011-10-08 Thread Will Coleda via RT
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/bi

[perl #78056] compiling a script to PIR makes it lose its ability to handle command line arguments

2010-09-26 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #78056] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=78056 > works fine directly: $ cat args.pl say @*ARGS.perl; say @*ARGS.join('|'); $ ./perl6 args