in reply to Re: Simple hash assignment...or is it?
in thread Simple hash assignment...or is it?
$VAR1 = (
'en0',
'en1'
);
en0: ent0
ent0
en1: ent1
ent1
$VAR1 = {
'en0' => 'ent0',
'en1' => 'ent1'
};
(empty line)
(empty line)
because, as you can see, the hash keys are the same string as the members of the array.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Simple hash assignment...or is it?
by Roger (Parson) on Nov 22, 2003 at 01:14 UTC | |
by arootbeer (Novice) on Nov 22, 2003 at 01:17 UTC | |
by Roger (Parson) on Nov 22, 2003 at 01:21 UTC | |
by liz (Monsignor) on Nov 22, 2003 at 10:14 UTC | |
by arootbeer (Novice) on Nov 22, 2003 at 01:22 UTC |