in reply to Re: Re: Re: Re: Re: Re: Better way to search?
in thread Better way to search?
produces:my @exts = qw/foo bar baz/; my %exts; @exts{@exts} = @exts; use Data::Dumper; print Dumper \%exts;
I might point out that nothing answers a question so well as testing a bit of code out yourself. :)$VAR1 = { 'foo' => 'foo', 'baz' => 'baz', 'bar' => 'bar' };
|
|---|