|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re^3: Passing array of references to Templateby philipbailey (Chaplain) |
| on Aug 23, 2011 at 20:06 UTC ( #921990=note: print w/ replies, xml ) | Need Help?? |
|
FOR and FOREACH are completely interchangeable. I prefer the former, but either is fine. I would suggest that you convince us (or yourself, at least) that $results contains what you expect, e.g. using Data::Dumper. Update: it occurs to me that @sendoff is never defined. Did you really run this using strict? You don't seem to need $sendoff or @sendoff at all: just write
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||