use strict and declare your variables. Because @tfl_contents never goes out of scope, you are reusing the same array over and over again, and simply pushing a new reference to the same array into @target_file each time.
| We're not surrounded, we're in a target-rich environment! |
|---|
In reply to Re: Adding Array References to an Array
by jasonk
in thread Adding Array References to an Array
by rheaton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |