That patch was improperly formatted. Here's the properly formatted
patch, thanks to sorear for telling me how to do this.

On Tue, Jun 29, 2010 at 3:24 AM, Tyler Curtis <ekir...@gmail.com> wrote:
> I've included the output of "git diff HEAD". As well, the source code
> in non-patch format can be found in this github repo:
> http://github.com/ekiru/rakudo/tree/argfiles
>
> I know there has already been a submission, but I had already gotten a
> significant part of this implemented when I saw it, and it didn't have
> support for actually initializing the $*ARGFILES contextual. I also
> went ahead and implemented some IO methods that weren't mentioned in
> Moritz's original post(.ins for example). I also modified lines() to
> use $*ARGFILES as the default IO object according to the spec. I've
> given it a little testing, but I can't guarantee there are no bugs,
> and I know that it will behave weirdly if not everything in @*ARGS is
> a filename or "-". Similarly to Perl 5's magic <>, it mutates and
> refers to @*ARGS(which means that if there are non-filename arguments
> but you remove them before you try to read from them in $*ARGFILES, no
> problems will ensue).
>
> I was uncertain about when exactly to initialize $*ARGFILES, since it
> isn't mentioned in the spec. I decided to insert the initialization
> immediately after @*ARGS is initialized. It should be safely movable
> to any point when the setting and @*ARGS are available, though.
>
> --
> Tyler Curtis
>



-- 
Tyler Curtis

Attachment: 0001-Add-ARGFILES.patch
Description: Binary data

Attachment: 0002-stub-out-ARGFILES.getc-it-appears-to-trigger-a-Parro.patch
Description: Binary data

Reply via email to