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('firstname.lastname@example.org');
FirstArr:john some.domain.com john some.domain.com
Advice me how to get the array individually.