Dear Sean,

Hash Slice (only reminded of this the other day).  Example code:

use strict;
use warnings;

my @first  = 'A' .. 'Z';
my @second = 'a' .. 'z';

my %hash;
@[EMAIL PROTECTED] = @second;

use Data::Dumper;
print Dumper(\%hash);

__END__

Not a particularly "beginner" way to do it though.

Jonathan Paton

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to