($record[0]->{bytes}, $record[1]->{bytes}) = get_bytes(2); #### @tmp = get_bytes($num); for ($i=0;$i{bytes} = $tmp[$i]; }