in reply to HOW Can I pass the array into my subroutine?
sub sortArray(\@) { # Array is in @{$_[0]} } ... sortArray @arr; [download]