@net = mask($a,$b); sub mask { <<code>> return @base; } [download]
Retitled by Steve_p from 'subroutines'.
In reply to Returning arrays from subroutines by Lhamo_rin