in reply to Changing each item in an array

for ($one, $two, $three) { if ($_) { $_ = "YES"; } else { $_ = "NO"; } }

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.