http://qs1969.pair.com?node_id=680412


in reply to Formatting and write help

Curly braces define an anonymous hash reference, you want parens to make a list:

my @addr = ($one, $two);

Edit: Beaten by Ikegami, which seems to be a running theme :).