Okay, I figured out where my problem is. here it is.
push @{$EnvsToRun->{data}}, [$environment, $duration, $config];When I try to add it to a list with 3 columns, I get the array ref, but if I take the square brackets off, I get three separate entries, with the variable argument in the first column of each entry with they other two as 0s. If I use the brackets, I get the array ref, and then the other two columns are fine. I've tried a few combos of parantheses and brackets, but the brackets seem to be the only things that matter.
In reply to Re^4: Shift returning pointer
by rgb96
in thread Shift returning pointer
by rgb96
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |