#!/usr/bin/perl use strict; use Data::Dumper; my @array = qw( a b c ); my %hash = map { $_ => 1 } @array; print Dumper \%hash;
In reply to Re: hash key
by bichonfrise74
in thread hash key
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |