# doc my $mas = Masscan::Scanner->new(hosts => \@hosts, ports => \@ports, arguments => \@arguments); #your code $av_obj_MAS->add_port(@av_arr_PORTS);