in reply to Foreach loop not looping?!
Your first dump probably should've been (note the backslash)
print Dumper(\@orders);
If you pass an array (instead of an array ref) to Dumper, its individual elements are being dumped, which effectively produces the same output as your explicit looping...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Foreach loop not looping?!
by rjberry (Novice) on Oct 09, 2008 at 14:43 UTC | |
by almut (Canon) on Oct 09, 2008 at 15:08 UTC |