With the result:#!/usr/bin/perl use warnings; use strict; my %HoH; my $value = "I have a value!"; my $G_Boardno = "curiosity"; my $G_ExcepId = "killed_the"; my $G_CauseCode = "cat"; $HoH{"$G_Boardno"}{"$G_ExcepId"}{$G_CauseCode}="$value"; print "My hash = ", $HoH{curiosity}{killed_the}{cat}, "\n";
C:\Code>perl hohohoh.pl My hash = I have a value!
In reply to Re: How to create a 4 dimension hash
by dwm042
in thread How to create a 4 dimension hash
by jack_2060
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |