jptxs has asked for the wisdom of the Perl Monks concerning the following question:
hash definition:
foreach my $name (@name_list) { my @fields = qw(fname lname); my ($sc_id, @names) = split /\,/, $name; @{$sc{$sc_id}}{@fields} = @names; }
loop definition:
foreach my $sc_id (keys %sc) {
i've tested all the variables and arrays involved and everything is defined unitl you enter that loop??
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: loop criteria not accessable in loop??
by bliz (Acolyte) on Aug 16, 2000 at 20:23 UTC | |
by mrmick (Curate) on Aug 16, 2000 at 21:49 UTC | |
by bliz (Acolyte) on Aug 16, 2000 at 22:07 UTC | |
by merlyn (Sage) on Aug 16, 2000 at 22:18 UTC | |
|
Re: loop criteria not accessable in loop??
by merlyn (Sage) on Aug 16, 2000 at 20:16 UTC | |
by jptxs (Curate) on Aug 16, 2000 at 20:26 UTC | |
by merlyn (Sage) on Aug 16, 2000 at 20:28 UTC | |
by jptxs (Curate) on Aug 16, 2000 at 20:33 UTC | |
by merlyn (Sage) on Aug 16, 2000 at 20:37 UTC | |
|