in reply to Grep & Regex Question
while ($continue eq 'Y') [download]
Numerically, 'Y' is zero.
Moreover, see chomp to fix
$continue = <>; [download]