in reply to Re: Append to file or create file depending on input filename.
in thread Append to file or create file depending on input filename.

You can also write the substitution a bit simpler:
$outfile =~ s/^>//

I know that PBP encourages you to always use xms, and \A instead of ^, but that doesn't mean it's the most elegant or simple way to write it.

Replies are listed 'Best First'.
Re^3: Append to file or create file depending on input filename.
by markuhs (Scribe) on Nov 20, 2009 at 15:10 UTC
    As this problem was caused by applying things learned from PBP I surely will use the code as provided by bellaire. ;)

    ++bellaire! Thank you!