On Tue, Sep 13, 2011 at 07:00:42AM -0700, pradeep wrote:
> Hi,
> I do have a doubt ,
> Input:
> 1,2,3,4,5,6
> output:
> 1-2,3-4,5-6
> 1-2,3-5,4-6
> 1-2,3-6,4-5
> 
> 1-3,2-4,5-6
> 1-3,2-5,4-6
> 1-3,2-6,4-5
> 
> 1-4,2-3,5-6
> 1-4,2-5,3-6
> 1-4,2-6,3-5
> 
> 1-5,2-3,4-6
> 1-5,2-4,3-6
> 1-5,2-6,3-4
> 
> 1-6,2-3,4-5
> 1-6,2-4,3-5
> 1-6,2-5,3-4
> 
> Can anyone help me in this????

Unlikely, unless you are a bit more specific about what you are trying to do.

And even then, it's hard to help you to improve your code if you don't show
it.

-- 
Paul Johnson - p...@pjcj.net
http://www.pjcj.net

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to