chomp removes only the newline (what you want I think) and chop removes the last 
character
#instead of 
chop $in;
#Try:
chomp $in;

Greg


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to