in reply to Re^3: Shift returning pointer
in thread Shift returning pointer
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Shift returning pointer
by bellaire (Hermit) on Mar 16, 2009 at 19:04 UTC | |
by rgb96 (Acolyte) on Mar 16, 2009 at 19:17 UTC | |
by bellaire (Hermit) on Mar 16, 2009 at 19:35 UTC | |
by rgb96 (Acolyte) on Mar 16, 2009 at 19:40 UTC | |
by bellaire (Hermit) on Mar 16, 2009 at 19:51 UTC | |
|