Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: =~ matches non-existent symbols

by dsheroh (Monsignor)
on Nov 16, 2014 at 10:28 UTC ( [id://1107338]=note: print w/replies, xml ) Need Help??


in reply to Re: =~ matches non-existent symbols
in thread =~ matches non-existent symbols

Yes.

The file does contain non-[actg] characters: carriage returns and/or line feeds (depending on the operating system where the file was created). You need to either explicitly allow those characters or use chomp to remove them.

Replies are listed 'Best First'.
Re^3: =~ matches non-existent symbols
by Anonymous Monk on Nov 16, 2014 at 10:35 UTC
    Hi, the only chomp there that I can see is:
    chomp ( $DNA = $ARGV[0] );
    $ARGV[0] is not the file.

    Amusing...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-25 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found