Re: using algorithm-permute

2008-10-22 Thread Sharan Basappa
On Wed, Oct 22, 2008 at 4:32 AM, Rob Dixon [EMAIL PROTECTED] wrote: Sharanbr wrote: On Oct 19, 6:38 am, [EMAIL PROTECTED] (Sisyphus) wrote: On Oct 17, 3:04 am, [EMAIL PROTECTED] (Sharan Basappa) wrote: #!/usr/bin/perl use warnings; use Algorithm::Permute; my @array = (1..4);

Re: using algorithm-permute

2008-10-21 Thread Sharanbr
On Oct 19, 6:38 am, [EMAIL PROTECTED] (Sisyphus) wrote: On Oct 17, 3:04 am, [EMAIL PROTECTED] (Sharan Basappa) wrote: . . #!/usr/bin/perl use warnings; use Algorithm::Permute; my @array = (1..4); Algorithm::Permute::permute { print @array\n } @array; use warnings; use strict;

Re: using algorithm-permute

2008-10-21 Thread Rob Dixon
Sharanbr wrote: On Oct 19, 6:38 am, [EMAIL PROTECTED] (Sisyphus) wrote: On Oct 17, 3:04 am, [EMAIL PROTECTED] (Sharan Basappa) wrote: #!/usr/bin/perl use warnings; use Algorithm::Permute; my @array = (1..4); Algorithm::Permute::permute { print @array\n } @array; use warnings; use

Re: using algorithm-permute

2008-10-19 Thread sisyphus
On Oct 17, 3:04 am, [EMAIL PROTECTED] (Sharan Basappa) wrote: . . #!/usr/bin/perl use warnings; use Algorithm::Permute; my @array = (1..4); Algorithm::Permute::permute { print @array\n } @array; use warnings; use strict; use Algorithm::Permute; my @array = (1..9); my $p = new

using algorithm-permute

2008-10-16 Thread Sharan Basappa
Hi, I need to create permutations of a given set of values. The set is itself present in an array. From this I am trying to create another array that has permutations of this set. I am able to create a small example and run but from the description of the module I am not sure how to put the