$student = { ... points => \@points, }; #### $student = { ... points => [@points], }; #### $student = { ... points => @points, }; #### $student = { ... 'points', 'a', 'b', 'c', 'd', }; #### $student = { ... points => 'a', b => 'c', 'd', };