A new post in my blog about Cartesian products.
Problem: You have a number of sets and you want all the combinations when choosing one element from each set.
In mathematics, these combinations are called the Cartesian products. They are also known as cross-products. In the database world, they are sometimes called cross-joins.
I created a blog about Perl over on Blogger and I have just posted an new article on recursion.
When creating an article for blogs.perl.org, place only one or two paragraphs in the BODY section. This is the lead (pronounced "leed") to the article. Place the bulk of the article in the EXTENDED section.
In a comment of an article here at blogs.perl.org, Going to Perl School, I mentioned that Perl has 9
uses for braces. Here they are:
I have recently installed perl-5.16.0 using perlbrew and have begun adding CPAN modules. Here is some of them that I find most useful. Would you add any to the list?
- JSON
- YAML
- List::MoreUtils
- Readonly
- Regexp::Common
- Data::Alias
- Text::CSV
- Text::CSV_XS