hi Guys,
I have an hash that look like this (debug)
x %myhash
0 'ParentFolder'
1 '//server/folder1/'
2 'myarray'
3 ARRAY(0x1f6dc08)
0 'January'
1 'February'
2 'March'
3 'April'
4 'May'
5 'June'
6 'July'
7 'August'
8 'September'
9 'October'
10 'November'
11 'December'
What I want to do is to print the array in the key 'myarray'.
I am trying
foreach ($myhash{'myarray'}) {
print "$_\n";
}
All I get is ARRAY(0x1a59d28).
Thanks!!!
I have an hash that look like this (debug)
x %myhash
0 'ParentFolder'
1 '//server/folder1/'
2 'myarray'
3 ARRAY(0x1f6dc08)
0 'January'
1 'February'
2 'March'
3 'April'
4 'May'
5 'June'
6 'July'
7 'August'
8 'September'
9 'October'
10 'November'
11 'December'
What I want to do is to print the array in the key 'myarray'.
I am trying
foreach ($myhash{'myarray'}) {
print "$_\n";
}
All I get is ARRAY(0x1a59d28).
Thanks!!!