dtRdr::Hack 0.0.11
Sponsored Links
dtRdr::Hack 0.0.11 Ranking & Summary
File size:
2.8 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
960
Date added:
2007-03-14
Publisher:
Eric L. Wilhelm
dtRdr::Hack 0.0.11 description
dtRdr::Hack is a Perl module with self-documenting adaptive finger-wagging global vars.
SYNOPSIS
This is a global store for things that cannot otherwise be cleanly solved at the moment.
package WayOver::OnThe::Left;
use dtRdr::Hack; dtRdr::Hack->set_variableB(45);
package Bottom::Right::Corner;
use dtRdr::Hack;
my $variableB = dtRdr::Hack->get_variableB;
Basically, just a way to formalize global variable sharing.
Arrays, hashes, objects, and globs are all passed and stored directly as references.
Declarations
Variables are declared in the %declarations and %deprecated hashes in the Hack.pm code. To deprecate variables, move them rather than duplicating.
The behavior is controlled by the following constants, which should be similar to perls warnings and strict pragmas (less the lexical aspects and dynamic switchability.)
my %declared = (
some_scalar => , # scalar
some_array => [], # array
some_hash => {}, # hash
some_univ => bless({}, UNIVERSAL), # any object
some_obj => bless({}, dtRdr::Book), # class or subclass
some_sub => sub {_die ex_sub}, # declare subs like this
some_undef => undef, # run-time typing
);
TODO: you can currently set an object where you declared a hash, but STRICT should probably not allow that.
Moving variables to %deprecated allows you to denote that your code should no longer be using these.
my %deprecated = (
some_other_scalar => ,
some_other_array => [],
some_other_hash => {},
some_other_sub => sub {_die ex_sub},
);
NOTE: The sub {_die ex_sub} idiom lets you stop yourself from calling what you thought was set elsewhere.
SYNOPSIS
This is a global store for things that cannot otherwise be cleanly solved at the moment.
package WayOver::OnThe::Left;
use dtRdr::Hack; dtRdr::Hack->set_variableB(45);
package Bottom::Right::Corner;
use dtRdr::Hack;
my $variableB = dtRdr::Hack->get_variableB;
Basically, just a way to formalize global variable sharing.
Arrays, hashes, objects, and globs are all passed and stored directly as references.
Declarations
Variables are declared in the %declarations and %deprecated hashes in the Hack.pm code. To deprecate variables, move them rather than duplicating.
The behavior is controlled by the following constants, which should be similar to perls warnings and strict pragmas (less the lexical aspects and dynamic switchability.)
my %declared = (
some_scalar => , # scalar
some_array => [], # array
some_hash => {}, # hash
some_univ => bless({}, UNIVERSAL), # any object
some_obj => bless({}, dtRdr::Book), # class or subclass
some_sub => sub {_die ex_sub}, # declare subs like this
some_undef => undef, # run-time typing
);
TODO: you can currently set an object where you declared a hash, but STRICT should probably not allow that.
Moving variables to %deprecated allows you to denote that your code should no longer be using these.
my %deprecated = (
some_other_scalar => ,
some_other_array => [],
some_other_hash => {},
some_other_sub => sub {_die ex_sub},
);
NOTE: The sub {_die ex_sub} idiom lets you stop yourself from calling what you thought was set elsewhere.
dtRdr::Hack 0.0.11 Screenshot
dtRdr::Hack 0.0.11 Keywords
Hack 0.0.11
Perl module
sub
global
Self-documenting
vars
Perl
module
dtRdr::Hack
dtRdrHack
dtRdr::Hack 0.0.11
Libraries
Programming
Bookmark dtRdr::Hack 0.0.11
dtRdr::Hack 0.0.11 Copyright
WareSeeker periodically updates pricing and software information of dtRdr::Hack 0.0.11 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of dtRdr::Hack 0.0.11 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
perl modules
install perl module
global dimming
global tv
installing perl module
globalrph
xml parser perl module
global warming
global industrial
global grind
atrpms perl module helper
global deejays
what is global warming
global credit union
perl module tutorial
sbc global
globalization
subway coupons
Related Software
dtRdr::Config is a Perl module with Factory class for configuration system. Free Download
dtRdr::User.pm is a user class as a Perl module. Free Download
dtRdr::Plugins::Library is a Perl module that can handle library plugins. Free Download
dtRdr::Book::ThoutBook_1_0 is a Perl module with the unpacked ThoutBook reader. Free Download
dtRdr::Annotation::IO::YAML is a Perl module to read/write annotations from/to yml files. Free Download
DBD::Oracle is a Perl module with Oracle database driver for the DBI module. Free Download
Pod::HtmlEasy Perl module can generate personalized HTML from PODs. Free Download
AudioCD is a Perl module for basic Audio CD control. Free Download
Latest Software
Popular Software
Favourite Software