in reply to Problems with chomp
chomp() removes trailing end of line char(s). On Unix this is just \n, on Windows this might be just \n or \r\n.
Your code starts off wrong for line processing with chomp(), $summaryFile = <INFO_FILE> reads INFO_FILE into one $var. chomp($summaryFile); will just remove \n\r like explained above for that single line.
Anyway, most important issue is that if you ask a question about chomp(), and have some demo code, then chomp() should be in that code! Then some easy example of the problem. I tried a couple of formulations of "/warp/..." to get it to display in my browser. You are asking folks who would like to help you to work too hard. Use simple examples or provide full URL name for off-site data.
|
|---|