Hi all, not sure this is specifically a bioperl question or more general Perl. Anyway, I am trying to capture the text output from $stream->write_aln($alignment) into a string, so that I can pattern search it I've tried all sorts of avenues, but not the correct one. Any ideas? Many Thanks James