http://www.perlmonks.org?node_id=1091970


in reply to Re: I can't find my mistake here!!!
in thread I can't find my mistake here!!!

You don't need ">" in the print statement
You do, if your output is in the FASTA format.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^3: I can't find my mistake here!!!
by perlfan (Vicar) on Jul 03, 2014 at 00:11 UTC
    Ah, tricky. I was just trying to cover all of my bases (pun intended). =)
Re^3: I can't find my mistake here!!!
by Anonymous Monk on Jul 02, 2014 at 12:07 UTC
    Ok, something came up:
    It seems to work, if I do the open, within the if block... Any ideas why? But in that case it's not helpful because later on I will have to open it again, and all this open file it not time-efficient, right?

      Maybe you are overwriting your file twice in your program.

      I think you will have to show the code. Please reduce it to a self-contained program of no more than 20 lines that still reproduces the problem.

      Hi again,
      I think I solved it, I create a temporary hash and use it later on and now it prints OK... It must be some silly mistake that I am making, but I don't have time to bother more now...
      Many sincere thanks to all of you that were kind enough to try to guess what my stupid error is :)