Hi all,
Is it possible to make a hash slice like so
my %hash;
@[EMAIL PROTECTED] = [EMAIL PROTECTED];
My efforts suggest not:
#!/bin/perl
use strict;
use warnings;
use Data::Dumper;
my @keys = qw(fe fi fo thumb);
my @vals = 1..4;
my %hash;
@[EMAIL PROTECTED] = [EMAIL PROTECTED];
print Dumper(\%hash);
$VAR1 = {
'ARRAY(0x226d54)' => [
1,
2,
3,
4
]
};
Am I missing something or isn't this possible?
TIA.
Dp.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/