in reply to printing referenced arrays weirdness
Can you spot the error? Your code is equivalent to this (because of the comment # on the first line) -print "test_array: @$test_array " . #{${@{$test_array}}} . "\n"; print "test_array2: @$test_array2\n";
Where your second print is evaluated before the first print.print("test_array: @$test_array " . print "test_array2: @$test_array2 +\n");
|
|---|