develooper Front page | perl.perl6.language | Postings from May 2001

Re: Apoc2 - Context and variables

Thread Previous | Thread Next
From:
John Porter
Date:
May 7, 2001 14:35
Subject:
Re: Apoc2 - Context and variables
Message ID:
20010507173553.A19772@min.net
Edward Peschko wrote:
> If 
> 	%a = @b;
> does 
> %c = map{ ($_ => undef ) }  @a;

Yep... particularly considering something neat like

	keys(%a) = @b;

could be defined to do that.  Or, even niftier

	@%a = @b;

-- 
John Porter


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About