Hi there Monks!
I need to add the values from $listA to @listB, I am later sending @listB as json to another program.
What is the best way of doing this? Here is a sample code to show what I am trying to do:
...
use Data::Dumper;
...
my $listA;
$VAR1 = [
{
'ZIP' => '01111',
'CITY' => 'New York, NY',
'STREET_NAME_1' => 'CONNECTOR PARK',
'STREET_NAME_2' => '100 MAINST'
}
];
my @listB;
$VAR1 = {
'account' => '73240',
'name' => 'G Church CO'
};
$VAR2 = {
'account' => '73240',
'name' => 'A Church CO'
};
$VAR3 = {
'account' => '73240',
'name' => 'B Church CO'
};
$VAR4 = {
'account' => '73240',
'name' => 'C Church CO'
};
$VAR5 = {
'account' => '73240',
'name' => 'D Church CO'
};
$VAR6 = {
'account' => '73240',
'name' => 'E Church CO'
};
Thanks for the help!100 MAINSTCONNECTOR PARK