in reply to How to use this subroutine

#use strict;

That's not a good sign. Uncomment that and fix any of the issues arising first.

pretty_print(\$id1, \$seq1); pretty_print(\$id2, \$seq2);

Why are you passing the arguments as references?

Replies are listed 'Best First'.
Re^2: How to use this subroutine
by bisimen (Acolyte) on Oct 16, 2017 at 15:46 UTC
    No reason, just experimenting... And I'm using strict now :)