rsiedl has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w use strict; use warnings; my %hash = (); $hash{1} = ["me","you"]; foreach my $item ( $hash{1} ) { print "$item\n"; } exit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl Array Question
by Enlil (Parson) on May 15, 2004 at 08:50 UTC | |
by rsiedl (Friar) on May 15, 2004 at 08:57 UTC | |
|
Re: Perl Array Question
by davido (Cardinal) on May 15, 2004 at 08:50 UTC | |
|
Re: Perl Array Question
by Aragorn (Curate) on May 15, 2004 at 14:29 UTC | |
by Juerd (Abbot) on May 15, 2004 at 17:07 UTC |