When i tried to return multiple array from subroutine,the two array contents are available in the first array itself.Canyou please let me know how the two arrays can be get separately.Find the below code,
my ($address) = shift(@_);
@components = split('@', $address);
@counter = split('@',$address);
(@first,@second) = &breakEmailAddress('email@example.com');
FirstArr:john some.domain.com john some.domain.com
Advice me how to get the array individually.