in reply to What useless about that?
The rest of the code evaluates to constants in void context. Perhaps you meant to assign an anonymous array instead:$test_subscriptions->{"test_case-$j"} = ['news','updates','vols-annc'] +;
Or an anonymous hash:$test_subscriptions->{"test_case-$j"} = [ 'fname' => $lname, 'lname' => $fname, 'zip' => '02486', 'email' => $email, 'lists' => ['news','updates','vols-annc'], ];
$test_subscriptions->{"test_case-$j"} = { 'fname' => $lname, 'lname' => $fname, 'zip' => '02486', 'email' => $email, 'lists' => ['news','updates','vols-annc'], };
|
|---|