in reply to Re: Extract multiple lists od Identifiers from a FASTA file
in thread Extract multiple lists od Identifiers from a FASTA file

open OUT,'>'."$path/$name.faa" || die ("cannot open out $file $!\n");

Unless joluito has been busy making uncited changes behind the scenes (update: /msg from pryrt says changes were made), the quoted statement is not present in the OPed code. However, I agree with your point about evaluation order in this statement.

... the real problem [is] setting the global variable $/

$/ = "\>";

and then never restoring it back to "\n".

Although trollishly delivered, I agree that failure to restore $/ is a problem, likely the root problem. No one else has made this point (update: yet — but see this).


Give a man a fish:  <%-{-{-{-<

Replies are listed 'Best First'.
Re^3: Extract multiple lists od Identifiers from a FASTA file
by Fletch (Bishop) on Aug 04, 2022 at 20:23 UTC

    Pretty sure was stealth edited because that was the reason I called it out as incorrect and needing parens as written at the time.

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.