<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div><font><font size="2">Hello All,<br>
<br>
I have a simple script shown below:<br>
on windows xp platform.<br>
<br>
<br>
<br>
use warnings;<br>
use strict;<br>
<br>
while (<DATA>) {<br>
chomp $_;<br>
print "$_";<br>
}<br>
<br>
__END__<br>
a<br>
b<br>
c<br>
d<br>
e<br>
f<br>
g<br>
h<br>
<br>
<br>
Why do I get an output that looks like this:<br>
a<br>
ab<br>
bc<br>
cd<br>
de<br>
ef<br>
fg<br>
ghh<br>
<br>
I expected to see:<br>
abcdefg<br>
<br>
<br>
Thanks<br>O<br>
</font></font></div>
</div><br></body></html>