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