%data = map {/(\w+)\s*(\w+)/} @info; #### %data = map {split ' ', $_, 2} @info;