https://github.com/zostay/tie-simple
Variable ties made easier: much, much, much easier...
https://github.com/zostay/tie-simple
Last synced: 1 day ago
JSON representation
Variable ties made easier: much, much, much easier...
- Host: GitHub
- URL: https://github.com/zostay/tie-simple
- Owner: zostay
- Created: 2015-11-28T15:35:54.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-28T17:24:29.000Z (over 10 years ago)
- Last Synced: 2025-05-21T06:11:32.629Z (about 1 year ago)
- Language: Perl
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
Awesome Lists containing this project
README
# Tie::Simple
This is a cousin of my Tie::Filter module. Tie::Simple basically dumbs down
the implementation of simple ties so that a full-blown package need not be
created for the very simple stuff that should be tied. In fact, Tie::Filter
could be reimplemented using Tie::Simple--it will not be, but it could be.
The implementation is a little nasty, but it works. Anyway, if you need some
quick tied variables, this can be the way to go. All the ties "implement" the
Tie::Scalar, Tie::Array, Tie::Hash, or Tie::Handle classes depending on the tie
type to make things just a little easier.
Patches welcome.
## INSTALLATION
Usually, the best way to install it is:
cpanm Tie::Simple
But if you insist on downloading from github and installing directly, you'll
need to:
cpanm Dist::Zilla
dzil authordeps | cpanm
dzil install
Versions back to 5.8.0 or even 5.6 may work, but I make no attempt to verify
that or fix bugs related to ancient versions of Perl.
## COPYRIGHT AND LICENSE
Copyright 2004, 2015 Andrew Sterling hanenkamp. This library is made available
under the same terms as Perl itself.