in reply to print() wierdness

One other thought... use Data::Dumper to examine $out around the time you print it.

--isotope
http://www.skylab.org/~isotope/