Re: code line of the day

[email protected] ((Randal L. Schwartz)) 07 Sep 2006 07:21:07 -0700
Newsgroups perl.fwp
Organization Stonehenge Consulting Services; Portland, Oregon, USA
Message-ID <[email protected]>
>>>>> "Uri" == Uri Guttman <[email protected]> writes:

Uri> 	@{$self->{templates}}{ keys %{$tmpls} } =
Uri> 		map ref $_ eq 'SCALAR' ? \"${$_}" : \"$_", values %{$tmpls} ;

Uri> discuss amongst yourselves. topics include: what does it do?

Uh, it throws a lot of warnings when values(%$tmpls) has non-references?

What do I win?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!