I am having a rather weird problem with array manipulation.
I have a file with a load of text in it, and I have a line which looks
vthread << File.new(pathname,
the expression /^foobar/ is repeated throughout, but there are
differences. Now, I would assume there to be a new entry added to the
array each time grep returns a match. However, while the code does what I
want it to, doing a:
Printing this single element to the screen does indeed yield the results,
but what I want it to do is ...