in reply to Re^3: Listing of files using glob
in thread Listing of files using glob

Before tr it has ">1elwA". and tr is used to omit the ">" sign

Replies are listed 'Best First'.
Re^5: Listing of files using glob
by choroba (Cardinal) on Jan 05, 2012 at 11:26 UTC
    Strange. Works for me:
    perl -e '$nameWithoutFastaSign = ">1elwA"; print "before: $nameWithoutFastaSign\n"; $nameWithoutFastaSign =~ tr/>//d; print "after: $nameWithoutFastaSign\n";'
    Output:
    before: >1elwA after: 1elwA