Object Iterator
This script presents a general purpose file object iterator cum file object proxy class.It provides a class that gives several iterator functions to read a text file by characters, words, lines, paragraphs or blocks. It also acts as a proxy for the wrapped file object. ts as a pOne way to do it...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (56): General purpose file iterator class Download |
This script does nested for loops on an arbitrary list of iterable things.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): n-dimensional loop iterator object Download |
SPOPS::Iterator is a class to cycle through results and return SPOPS objects. SYNOPSIS my $iter = $spops_class->fetch_iterator({ where => last_name like ?, value => [ smi% ] }); while ( $iter->has_next ) { my $object = $iter->get_next; print "Object ID: ", $object->id, " at position: ",...
Platforms: *nix
License: Freeware | Size: 286.72 KB | Download (88): SPOPS::Iterator Download |
Net::Delicious::Iterator is an iterator class for Net::Delicious thingies. SYNOPSIS use Net::Delicious::Iterator; my @dates = ({...},{...}); my $it = Net::Delicious::Iterator->new("Date",@dates); while (my $d = $it->next()) { # Do stuff with $d here } NOTES It isnt really expected...
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (101): Net::Delicious::Iterator Download |
Iterator::Util Perl package contains essential utilities for the Iterator class. SYNOPSIS use Iterator::Util; # Transform sequences $iterator = imap { transformation code } $some_other_iterator; # Filter sequences $iterator = igrep { condition code } $some_other_iterator; # Range of...
Platforms: *nix
License: Freeware | Size: 20.48 KB | Download (93): Iterator::Util Download |
Iterator is a general-purpose iterator class. SYNOPSIS use Iterator; # Making your own iterators from scratch: $iterator = Iterator->new ( sub { code } ); # Accessing an iterators values in turn: $next_value = $iterator->value(); # Is the iterator out of values? $boolean =...
Platforms: *nix
License: Freeware | Size: 22.53 KB | Download (89): Iterator Download |
Iterator::IO is a Perl module with filesystem and stream iterators. SYNOPSIS use Iterator::IO; # Return the names of files in a directory (except . and ..) $iter = idir_listing ($path); # Return all the files in a directory tree, one at a time. # Like File::Find, in slow motion. $iter...
Platforms: *nix
License: Freeware | Size: 14.34 KB | Download (88): Iterator::IO Download |
Iterator::BreakOn is a Perl module to create iterators with control flow breaks. SYNOPSIS use Iterator::BreakOn; # # get a generic data source with a next method implemented whom # returns a generic object # # in this example the order of the items in the data stream is assumed # to...
Platforms: *nix
License: Freeware | Size: 13.31 KB | Download (89): Iterator::BreakOn Download |
This function provides a simple iterator for the lines of a file-like object. (It also provides a flag for removing/retaining trailing newlines.) I ran into the problem a number of times that I wanted to read-in a very large file-like object (say a GB or two) line by line. This is a problem for...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (63): Iterating through large file-like objects Download |
This script allows you to choose a random object from an iterated list. Each item has an equal chance of being picked. The iterator is processed only once, and only the selected items are stored, making this function memory efficid only thbr />
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (54): Picking random items from an iterator Download |
Home of the Open Object Rexx Project. ooRexx is the open source version of IBM's Object REXX Interpreter. It is upwardly compatible with classic REXX and will execute classic REXX programs unchanged. The project is managed by the Rexx Language Assoc.
Platforms: *nix
License: Freeware | Size: 14.54 MB | Download (134): Open Object Rexx Download |
Color::Object is a OO-Color Module. A module for manipulation Colors within RGB, HSV and HSL color-spaces for usage within PDF-Documents especially with the Text::PDF::API modules. SYNOPSIS use Color::Object; $cl = Color::Object->new; $cl = Color::Object->newRGB($r,$g,$b); $cl =...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (103): Color::Object Download |
Object::Declare is a Perl module for declarative object constructor. SYNOPSIS use Object::Declare [MyApp::Column, MyApp::Param]; my %objects = declare { param foo => !is global, is immutable, valid_values are qw( more values ); column bar => field1 is value, field2 is...
Platforms: *nix
License: Freeware | Size: 27.65 KB | Download (99): Object::Declare Download |
Bio::Root::Object is a core Perl 5 object. SYNOPSIS # Use this module as the root of your inheritance tree. Object Creation require Bio::Root::Object; $dad = new Bio::Root::Object(); $son = new Bio::Root::Object(-name => Junior, -parent => $dad, -make => full); See the new() method...
Platforms: *nix
License: Freeware | Size: 4.7 MB | Download (102): Bio::Root::Object Download |
The Object Oriented Database Kit is a set of tools to help database applications developers to handle database communication, reporting, and printing. It has a solid, stable, and easy to use API. The project is also GUI toolkit agnostic and portable..
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (114): The Object Oriented Database Kit Download |
Object::LocalVars is a Perl module with outside-in objects with local aliasing of $self and object variables. SYNOPSIS package My::Object; use strict; use Object::LocalVars; give_methods our $self; # this exact line is required our $field1 : Prop; our $field2 : Prop; sub as_string :...
Platforms: *nix
License: Freeware | Size: 40.96 KB | Download (94): Object::LocalVars Download |
Object::Transaction is a virtual base class for transactions on files containing serialized hash objects. SYNOPSIS use Object::Transaction; transaction($coderef, @codeargs); commit(); abandon(); $there_is_a_pending_transaction = transaction_pending() package Pkg; @ISA =...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (90): Object::Transaction Download |
Object Relational Membrane is a Python package that provides the functionality of an object relational layer like EJB or other persistence storage systems. Object Relational Membrane is a thin compatibility layer between SQL table layouts and Object Oriented Python. While providing a good deal...
Platforms: *nix
License: Freeware | Size: 174.08 KB | Download (89): Object Relational Membrane Download |
Locale::Object::Language Perl module contains language information objects. Locale::Object::Language allows you to create objects containing information about languages such as their ISO codes, the countries theyre used in and so on. SYNOPSIS use Locale::Object::Language; my $eng =...
Platforms: *nix
License: Freeware | Size: 47.1 KB | Download (92): Locale::Object::Language Download |
Iterator::Misc Perl module package contains miscellaneous iterator functions. SYNOPSIS use Iterator::Misc; # Permute the elements of a list: $iter = ipermute (@items); # Select only every nth value of an iterator $iter = inth ($n, $another_iterator); # Randomly select iterator values...
Platforms: *nix
License: Freeware | Size: 12.29 KB | Download (88): Iterator::Misc Download |