in reply to Silly While Loop Problems

$yn=<STDIN>; chomp ($yn);

I also noticed you're not running use strict; or it would have complained about the lack of my $yn=<STDIN>;

I'm just saying...


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg