Moose classes (and some other classes) distinguish between an attribute being
unset and the attribute being set to undef.
To ensure that the Person constructor does not try to set a name or age at all
when they are undefined, ugly looking code is often used. A slightly more
elegant solution is the maybe function.
Developers hate writing documentation. They'd hate it even more if their
computer tattled on them, but maybe they'll be even more thankful in the long
run. Even if not, perlmodstyle tells you to, so you must obey.
This module provides a mechanism for determining if the pod for a given module
is comprehensive.
Symbol::Global::Name takes a reference and optional package name. It
returns the name of the referenced variable as long as it's in the
package or sub-package and it's a global variable. Returned name is
prefixed with type sigil, eg. '$', '@', '%', '&' or '*'.
Term::ProgressBar is a wonderful module for showing progress bars on the
terminal. This module acts very much like that module when it is run
interactively. However, when it is not run interactively (for example,
as a cron job) then it does not show the progress bar.
From README:
This module implements a least recently used (LRU) cache in memory
through a tie interface. Any time data is stored in the tied hash, that
key/value pair has an entry time associated with it, and as the cache
fills up, those members of the cache that are the oldest are removed to
make room for new entries.
So, the cache only "remembers" the last written entries, up to the size
of the cache. This can be especially useful if you access great amounts
of data, but only access a minority of the data a majority of the time.
The implementation is a hash, for quick lookups, overlaying a doubly
linked list for quick insertion and deletion. On a WinNT PII 300, writes
to the hash were done at a rate 3100 per second, and reads from the hash
at 6300 per second. Work has been done to optimize refreshing cache
entries that are frequently read from, code like $cache{entry}, which
moves the entry to the end of the linked list internally.
json-py is a simple, pure-python implementation of a JSON (http://json.org)
reader and writer. JSON is used to exchange data across systems written in
various languages. It is particularly suited to dynamic languages like Python,
Javascript, etc. JSON = Javascript Object Notation implies it is suitable for
AJAX applications that exchange data from servers to Javascript applications
running on web browser clients.
This package provides OAuth 1.0/a, 2.0, and Ofly consumer support. The
package is wrapped around the superb Python Requests.
* Supports OAuth 1.0/a, 2.0 and Ofly
* Service wrappers for convenient connection initialization
* Authenticated session objects providing nifty things like keep-alive
* Well tested (100% coverage)
* Built on Requests
Fast-stemmer is simply a wrapping around multithreaded Porter stemming
algorithm.
This gem adds a String#stem method, and it conflicts with the stemmer gem. It's
in order of magnitude faster (and uses much less memory) than the latter.
For the original work please see: tartarus.org/~martin/PorterStemmer/
Banihstypos (yes, that is the name) is a simple game to teach you
typing, FAST.
It helps you improve your typing by letting you type in a randomly
selected word which scrolls by on the screen at an increasing speed. If
the word hits the laser, you'll loose points.
The idea of dopewars is to deal drugs on the streets of New York,
amassing a huge fortune and paying off the loan shark, while avoiding
the ever-annoying police. The UNIX rewrite, as well as featuring a
so-called "antique" mode which closely follows the original,
introduces new features such as the ability to take part in
multi-player games.