in reply to Re: Shift returning pointer
in thread Shift returning pointer
Thanks guys, that makes sense to a degree. I'm not sure why it changes to array refs though. Here is my code where I am assigning what is in the list.
open(ENVIRONMENTS, "environments.txt"); while(<ENVIRONMENTS>){ my $line = $_; chomp($line); push @{$Envs->{data}}, [$line];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Shift returning pointer
by bellaire (Hermit) on Mar 16, 2009 at 18:11 UTC | |
by rgb96 (Acolyte) on Mar 16, 2009 at 18:56 UTC | |
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 | |
|