Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.414.961 Times

Collection::Categorized 0.01

Company: Jonathan Rockway
Date Added: August 15, 2013  |  Visits: 254

Collection::Categorized

Report Broken Link
Printer Friendly Version


Product Homepage
Download (32 downloads)



The idea is that, given a list of junk, you want to find order in the chaos. Write some categorizers (see below), dump your data in, and get it out in some sort of meaningful order. Collection::Categorized is a Perl module that can help you with that.<br /><br />SYNOPSIS<br /><br /> use Collection::Categorized;<br /><br /> # create a collection where elements are categorized by<br /> # the class they are in<br /> my $cc = Collection::Categorized->new( sub { ref $_ } );<br /><br /> # add some data<br /> $foo->{awesomeness} = 42;<br /> $cc->add($foo); # $foo isa Foo<br /> $cc->add($bar, $bar2); # $bars are Bars<br /> $cc->add(@bazs); # @bazs are Bazs<br /><br /> # see what we have<br /> my @c = $cc->categories; # (Foo, Bar, Baz)<br /><br /> # get the data by category<br /> my @foos = $cc->get('Foo'); # ($foo)<br /> my @bars = $cc->get('Bar'); # ($bar, $bar2)<br /> my @HOOO = $cc->get('HOOO'); # undef<br /><br /> # grep the data<br /> $cc->edit(sub { grep { defined $_->{awesomeness} } @_ });<br /> @foos = $cc->get('Foo'); # ($foo)<br /> @bars = $cc->get('Bar'); # ()<br /> @HOOO = $cc->get('HOOO'); # undef

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Categor Categorized Category Ccgtaddbar Ccgtaddbazs Ccgtaddfoo Ccgtcategories Ccgteditsub Ccgtget Bar Ccgtget Foo Ccgtget Hooo Collectioncategorized Collectioncategorizedgtnew Defined Foogtawesomeness Gtawesomeness Meaningful Order Undef
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


COLLECTION::CATEGORIZED RELATED
Libraries  -  Log::Log4perl::AutoCategorize 0.03
Log::Log4perl::AutoCategorize - extended Log::Log4perl logging. ABSTRACT Log::Log4perl::AutoCategorize extends Log::Log4perls (l4p) easy mode, adding 2 main features; 1. extended, automatic, transparent categorization capabilities a. logging...
40.96 KB  
Modules  -  Product Sort 1.4
I needed the capability of sorting by product similar to the way in which categories are sorted. I read through many posts of how people use different techniques to accomplish product sort (i.e. putting a number such as 1., 2., 3. etc in front of...
 
Inventory Systems  -  FineStock Manager 1.1.29
Eliminate Manual Inventory Management Multi-user software Flexibility, intuitiveness and efficiency in maintaining product traceability and customer and supplier exchanges, these are the advantages of this inventory management software....
26.83 MB  
Networking  -  Ajax Category Posts Dropdown 1.0
Lists all categories in a dropdown box and after selecting one the second dropdown box gets populated via Ajax with all posts from this category. You can use this plugin as widget (with some options) or just add the function to display the two...
10 KB  
Networking  -  Subzane Categorized Archive Widget 1.0
This widget that displays an archive for the current selected category. On non-category pages a standard archive is displayed. * On a post page the widget will only display an archive for posts in that category * On a category listing the widget...
10 KB  
Modules  -  Select Category to Post 2.1
This plugin shows the list of the categories of your blog. When you click one of the categories, you will jump to post-new.php, where the category you clicked is selected.Usually you go to post-new.php and write a post, then you select the...
10 KB  
Installer/Uninstaller Tools  -  Gentoo Category Select 0.3
Gentoo Category Select is a graphical tool for selecting Gentoo Package Categories to exclude from your local package repository. It does so by weaning information from multiple directories and files for convenience, as well as providing warning...
8.19 KB  
Modules  -  Category Descriptions 5.02
This contributionn adds a category description to your store, you can enter a description for each category, or leave it blank if you do not wish to have one for a particular category.
 
Modules  -  Category Name on Product Information Page 1.0
This Contribution "simply" adds Category Name to the product_info.php page. I found similar contributions but all tended to have long installations as they were combined with other functionality.Example layout:Category nameProduct nameSupport:...
 
Modules  -  Collapsible CSS Category Menu 1.0
This contribution caches the category tree as a serialized array. Upon each page call the script first checks to make sure the cache file exists and if so uses that data to populate the category tree. If the file does not exist it calls...
 
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB