in reply to Bug? with reverse in map

The interior subroutine / block in a map is called in list context, this is not a bug, as it allows for things like:
%seen = map { $_ => 1 } qw( some list );
and other (maybe more useful) things... </code>
-- Joost downtime n. The period during which a system is error-free and immune from user input.