Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^4: Listing of files using glob

by AG87 (Acolyte)
on Jan 05, 2012 at 11:14 UTC ( #946368=note: print w/ replies, xml ) Need Help??


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


Comment on Re^4: Listing of files using glob
Re^5: Listing of files using glob
by choroba (Canon) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://946368]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (14)
As of 2015-07-06 19:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (81 votes), past polls