for (@nums){ if ($_ % 2) { push (@odd, $_); } else { push (@even, $_); } } [download]
In reply to Re: Re: Match all Odd and Even Numbers by Dru in thread Match all Odd and Even Numbers by Dru