That sounds like you are chopping $number rather than chomping, and getting the carriage return printed after the number without the linefeed.
In any case, to get it to print, it sounds like you might need to put a newline ("\n") on the end of your final print. (I say that because you are at least getting something if you don't chomp the array...)
-sauoq
"My two cents aren't worth a dime.";
| [reply] |
Well, thank you very much for the help. I tried it again from home and it works if I don't chomp the array, but it prints nothing if I chomp the array. Now that I've had a break from thinking, it works.
Thanks very much for the suggestions. A newline would be of better use on the beginning of the final print as it would move everything down a line, but placing one on the end, I don't think, would do much.
And since I started writing this, it now doesn't print anything. Interesting, it works on a fresh boot, but not after running a few times. Must be something on my computer. This never happens on my linux box. :o) Thanks again for your help.
| [reply] |