in reply to What useless about that?
The problem is that you're trying to assign to a hash reference, but you're using parentheses "( ... )" instead of braces "{ ... }".
Try this instead:
$test_subscriptions->{"test_case-$j"} = { 'fname' => $lname, 'lname' => $fname, 'zip' => '02486', 'email' => $email, 'lists' => ['news','updates','vols-annc'], }
Update: Oh, and I'm betting that in your program, line 124 is the one containing
because that's where I had to position the hash assignment to get exactly the same wording as in the error message you got. But I don't know what's going on with your line 66:$test_subscriptions->{"test_case-$j"} = {
Can't call method "isa" without a package or object reference at line +66.
For that one, you'll have to give us more clues ;-)
|
|---|