I was wondering if it is at all possible to do something like this? (I know this doesn't work)
I am trying to extend the values in the $thing array.
#!/usr/bin/perl use strict; use warnings; my $thing; $thing = { 'A' => 'hello', 'B' => 'there' }; $thing = { 'C' => 'cutie', 'D' => 'pie' }; print "$thing->{'A'} $thing->{'B'} $thing->{'C'} $thing->{'D'}\n";
In reply to Extending Array by VingInMedina
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |