use IO::Scalar; my $data = <new(-fh => $SH, -format => 'fasta');