but the program doesn't end

Do you mean the program doesn't stop even when you hit return in response to " What is the name of the ChIPOTle file\?"?

Do you mean the program never finds the end of the file it's processing?

My code "works" to some degree, in that it gives me an output

Under what circumstance does it work? For the first file only? For more than one file?


In reply to Re: Faulty Control Structures? by apl
in thread Faulty Control Structures? by bioinformatics

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":