in reply to Re: Detecting Subroutine Input Typein thread Detecting Subroutine Input Type
sub thinger { my @array = ( ref($_[0]) eq 'ARRAY' ? @{$_[0]} : @_ ); } [download]