brian d foy > Set-CrossProduct > cross

Download:
Set-CrossProduct-1.93.tar.gz

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

cross - output the cross product of two or more sets

SYNOPSIS ^

        cross [-g gluestring] "item,item,item" "item,item,item" ...
        
        prompt> cross "a,b,c" "1,2,3"
        a 1
        a 2
        a 3
        b 1
        ...
        
        prompt> cross "a,b,c" "1,2,3" "x,y,z"
        a 1 x
        a 1 y
        a 1 z
        a 2 x
        ...

        # specify your own separator with -g
        prompt> cross -g="," "a,b,c" "1,2,3"
        a,1
        a,2

SOURCE AVAILABILITY ^

This is part of the Perl module Set::CrossProduct.

This source is part of a SourceForge project which always has the latest sources in CVS, as well as all of the previous releases.

        http://sourceforge.net/projects/brian-d-foy/

If, for some reason, I disappear from the world, one of the other members of the project can shepherd this module appropriately.

AUTHOR ^

brian d foy, <bdfoy@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright (c) 2007 brian d foy. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.