in reply to Re: Match all Odd and Even Numbers
in thread Match all Odd and Even Numbers
for (@nums){ if ($_ % 2) { push (@odd, $_); } else { push (@even, $_); } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Match all Odd and Even Numbers
by bimleshsharma (Beadle) on Oct 12, 2012 at 06:27 UTC | |
by Anonymous Monk on Oct 12, 2012 at 06:30 UTC |