in reply to Re: New module naming
in thread New module naming
It does "equals" and "contains" which always the objects to be searched in a list. It is a hash, but more complex behaviour can be created depending on the value object.
Another example:
my $person = tbd_name::Object->new(); my $person->set( "AGE", ::Integer->new(30) ); my $people = tbd_name::List->new(); $people->add( $person ); my $age_range = tbd_name::Object->new(); my $range->set( "AGE", ::Range->new( 19,39 ) ); my $search_result = tbd_name::List->new(); $people->search($age_range, $search_result);
At this point I'm trying to figure out a good name for it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: New module naming
by BrowserUk (Patriarch) on Nov 06, 2011 at 22:17 UTC | |
|
Re^3: New module naming
by Sigil (Novice) on Nov 06, 2011 at 22:21 UTC |