On May 28, 2008, at 10:08, A. Pagaltzis via RT wrote: > Because Perl thinks you are constructing an anonymous hash. If you > disambiguate, it figures it out: > > my @a = map {; "--$_" => $_ } @ARGV; > > Note the semicolon. Would it not also think that it was an anonymous hash when I used the concatenation, as well? Best, DavidThread Previous | Thread Next