Remember the good advice in perlipc.
update: fixed the link
In reply to Re^3: Problem using chomp on linux by ig in thread Problem using chomp on linux by Anonymous Monk