This is yet another module that lets you access or change the elements
of a hash using methods with the same name as the element's key. It
follows in the footsteps of Hash::AsObject, Hash::Inflator,
Data::OpenStruct::Deep, Object::AutoAccessor, and probably others. The
main difference between this module and its forebears is that it
supports tied hashes, in addition to regular hashes. This allows a
modular division of labor: this class is generic and treats all hashes
the same; any special semantics come from the tied hash.
IO::Stty is a perl module that change and print terminal line settings.
The `IO::Tee' constructor, given a list of output handles,
returns a tied handle that can be written to but not read from.
When written to (using print or printf), it multiplexes the
output to the list of handles originally passed to the
constructor. As a shortcut, you can also directly pass a string
or an array reference to the constructor, in which case
`IO::File::new' is called for you with the specified argument or
arguments.
Hash::Case is the base class for various classes which tie special
treatment for the casing of keys. Be aware of the differences in
implementation: Lower and Upper are tied native hashes: these hashes
have no need for hidden fields or other assisting data structured. A
case Preserve hash will actually create three hashes.
Hash::Diff returns the difference between two hashes as a hash.
Perl5 module that allows creation of pseudo-tty's
as well as manipulation.
Hash::FieldHash provides the field hash mechanism which supports the inside-out
technique.
You may know Hash::Util::FieldHash. It's a very useful module, but too complex
to understand all the functions and only available in 5.10. H::U::F::Compat is
available for pre-5.10, but it seems too slow to use.
This is an alternative to H::U::F with following features:
Simpler interface
- Hash::FieldHash provides a few functions: fieldhash() and fieldhashes().
That's enough.
Higher performance
- Hash::FieldHash is faster than Hash::Util::FieldHash, because its internals
use simpler structures.
Relic support
- Although Hash::FieldHash uses a new feature introduced in Perl 5.10, the uvar
magic for hashes described in "GUTS" in Hash::Util::Fieldhash, it supports
Perl 5.8 using the traditional tie-hash layer.
Store multiple values per key.
Provides an object-oriented interface to either the POSIX mmap() or
Win32 equivalent APIs to memory map a file into a process's address
space for general memory access. IPC::Mmap provides only a minimal
interface without the additional overhead of tie'd variables or
locking enforced in other modules (e.g., Sys::Mmap, Win32::MMF); hence,
the application is responsible for performing read()'s and write()'s
on the IPC::Mmap object, and calling any needed lock() and unlock()
methods, as required by concurrent processes.
Memory mapped files provide an alternate shared memory mechanism for
multiple processes. The technique maps the OS's file system buffers
for a given file into each mmap()'ing process's virtual memory space,
thereby permitting each process to essentially share the same physical
memory. Refer to the excellent "Advanced Programming in the UNIX
Environment", Stevens et al., Addison-Wesley Publisher for a detailed
reference on the POSIX implementation. IPC::Mmap provides OS-agnostic
wrappers for both the POSIX and Win32 memory mapped file capabilities.
a class for executing remote perl code over an SSH link