in reply to Processing .RES file

Now the worry is that when I use "last" statement after parsing, script will fail

Why do you worry, and not simply try it out?

Or if you did try it, in what way did it fail? Where did you put the last?

Perl 6 - links to (nearly) everything that is Perl 6.