Re: An implement of $*ARGFILES for Rakudo

2010-06-29 Thread Moritz Lenz
Hi, thank you both for your contributions, I've pushed a mixture of both to Rakudo. I liked the setting up of $*ARGFILES in Tyler Curtis' patch, but modifying @*ARGS broke other things (namely if there were no arguments, @*ARGS would contain '-', which broke tests in

An implement of $*ARGFILES for Rakudo

2010-06-28 Thread Hongwen Qiu
This is my trying to implement $*ARGFILES for Rakudo for this week's contribution to Perl 6. class IO::ArgFiles { has $!filehandle; has $!filename; has @!filenames; method new(@filenames) { self.bless(*, filenames = @filenames || '-'); } method get