~~David~~ has asked for the wisdom of the Perl Monks concerning the following question:
foreach (@files) { $file = "$klarfdir"."\\"."$_"; $file = Klarf::Parser->new($file); foreach (keys %{$file-> defectdata}){ #this never ends, but if I + print $_ only, it works fine. print ($file -> defectdata -> {$_} -> {XINDEX}); } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Neverending Foreach Loop
by GrandFather (Saint) on Jul 12, 2007 at 22:48 UTC | |
by ~~David~~ (Hermit) on Jul 12, 2007 at 23:12 UTC | |
by GrandFather (Saint) on Jul 12, 2007 at 23:28 UTC | |
by dsheroh (Monsignor) on Jul 13, 2007 at 06:25 UTC | |
|
Re: Neverending Foreach Loop
by runrig (Abbot) on Jul 12, 2007 at 22:38 UTC |