in reply to input record separator and split

When I run your code, I get a warning:
Unrecognized escape \s passed through at ...

$/ does not accept a regular expression (\s+).

Also, you overwrite the contents of your @blastblock array every time through the while loop. So, the array only has 1 element after the while loop.