Re: every combination of Y/N in 5 positions
  Home FAQ Contact Sign in
comp.lang.perl.misc only
 
Advanced search
POPULAR GROUPS

more...

 Up
Re: every combination of Y/N in 5 positions         

Group: comp.lang.perl.misc · Group Profile
Author: smallpond
Date: Mar 31, 2008 14:06

On Mar 31, 4:57 pm, joemacbusin...@yahoo.com wrote:
> Hi All,
>
> This has probably already been written but I did not see it on CPAN.
> Is there a code snippent that can print every possible combination
> of Y/N's in a 5 position array or string?
>
> For example: Y Y Y Y Y becomes
> N Y Y Y Y
> Y N Y Y Y....
> Y Y N N Y etc.
>

Who gets the credit for doing your homework?
no comments
diggit! del.icio.us! reddit!