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