Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: I can't find my mistake here!!!

by Corion (Patriarch)
on Jul 02, 2014 at 10:26 UTC ( [id://1091955]=note: print w/replies, xml ) Need Help??


in reply to I can't find my mistake here!!!

Most likely, your $sequence never matches ABC. Alternatively, maybe opening the file failed. Use

open OUT, '>', "$infile.OUTFILE" or die "Couldn't create file '$infile.OUTFILE': $!";

Also, consider printing both to STDOUT and to OUT, just to debug that what you think should be printed to the file really gets printed.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-25 15:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found