Tie::Simple

Tie::Simple Perl module contains variable ties made easier: much, much, much easier...
Download

Tie::Simple Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Andrew Sterling Hanenkamp
  • Publisher web site:
  • http://search.cpan.org/~hanenkamp/

Tie::Simple Tags


Tie::Simple Description

Tie::Simple Perl module contains variable ties made easier: much, much, much easier... Tie::Simple Perl module contains variable ties made easier: much, much, much easier...SYNOPSIS use Tie::Simple; tie $scalar, 'Tie::Simple', $data, FETCH => sub { ... }, STORE => sub { ... }; tie @array, 'Tie::Simple', $data, FETCH => sub { ... }, STORE => sub { ... }, FETCHSIZE => sub { ... }, STORESIZE => sub { ... }, EXTEND => sub { ... }, EXISTS => sub { ... }, DELETE => sub { ... }, CLEAR => sub { ... }, PUSH => sub { ... }, POP => sub { ... }, SHIFT => sub { ... }, UNSHIFT => sub { ... }, SPLICE => sub { ... }; tie %hash, 'Tie::Simple', $data, FETCH => sub { ... }, STORE => sub { ... }, DELETE => sub { ... }, CLEAR => sub { ... }, EXISTS => sub { ... }, FIRSTKEY => sub { ... }, NEXTKEY => sub { ... }; tie *HANDLE, 'Tie::Simple', $data, WRITE => sub { ... }, PRINT => sub { ... }, PRINTF => sub { ... }, READ => sub { ... }, READLINE => sub { ... }, GETC => sub { ... }, CLOSE => sub { ... };This module adds the ability to quickly create new types of tie objects without creating a complete class. It does so in such a way as to try and make the programmers life easier when it comes to single-use ties that I find myself wanting to use from time-to-time.The Tie::Simple package is actually a front-end to other classes which really do all the work once tied, but this package does the dwimming to automatically figure out what you're trying to do.I've tried to make this as intuitive as possible and dependent on other bits of Perl where I can to minimize the need for documentation and to make this extra, extra spiffy. Requirements: · Perl


Tie::Simple Related Software