in reply to To print one line from a file? Non-loop?
Okay, now I have a username and stuff. Yay!
No, when I do print <CHUNK>; it prints the whole dern file. It's a typical text file, just some HTML code I want a piece at a time, and I fill in the middle. I assume that it's because, like, when you assign an array equal to a filehandle, it throws all the lines into separate elements, but if you assign a scalar equal to a filehandle, it just grabs one line. So, since print accepts a list, it goes ahead and gives it a list. The whole file. Is it normally supposed to work the other way? It sure doesn't do that for me. Or, am I crazy?