foundation 0.03
Sponsored Links
foundation 0.03 Ranking & Summary
File size:
0.004 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
857
Date added:
2007-06-19
Publisher:
Michael G Schwern
foundation 0.03 description
foundation Perl module to inheritance without objects.
SYNOPSIS
package Foo;
sub fooble { 42 }
package Bar;
sub mooble { 23 }
sub hooble { 13 }
package FooBar;
use foundation;
foundation(qw(Foo Bar));
sub hooble { 31 }
print fooble(); # prints 42
print moodle(); # prints 23
print hooble(); # prints 31 (FooBar overrides hooble() from Bar)
print SUPER(hooble); # prints 13 (Bars hooble())
Havent drunk the OO Kool-Aid yet? Think object-oriented has something to do with Ayn Rand? Do you eat Java programmers for breakfast?
If the answer to any of those is yes, than this is the module for you! foundation adds the power of inheritance without getting into a class-war!
Simply use foundation and list which libraries symbols you wish to "inherit". It then sucks in all the symbols from those libraries into the current one.
Functions
foundation
foundation(@libraries);
Declares what libraries you are founded on. Similar to use base.
SUPER
my @results = SUPER($function, @args);
Calls the named $function of the current packages foundation with the given @args.
Similar to $obj-SUPER::meth();>
SYNOPSIS
package Foo;
sub fooble { 42 }
package Bar;
sub mooble { 23 }
sub hooble { 13 }
package FooBar;
use foundation;
foundation(qw(Foo Bar));
sub hooble { 31 }
print fooble(); # prints 42
print moodle(); # prints 23
print hooble(); # prints 31 (FooBar overrides hooble() from Bar)
print SUPER(hooble); # prints 13 (Bars hooble())
Havent drunk the OO Kool-Aid yet? Think object-oriented has something to do with Ayn Rand? Do you eat Java programmers for breakfast?
If the answer to any of those is yes, than this is the module for you! foundation adds the power of inheritance without getting into a class-war!
Simply use foundation and list which libraries symbols you wish to "inherit". It then sucks in all the symbols from those libraries into the current one.
Functions
foundation
foundation(@libraries);
Declares what libraries you are founded on. Similar to use base.
SUPER
my @results = SUPER($function, @args);
Calls the named $function of the current packages foundation with the given @args.
Similar to $obj-SUPER::meth();>
foundation 0.03 Screenshot
foundation 0.03 Keywords
SUPER
Perl module
foundation
Hooble
inheritance
module
prints
sub
foundation 0.03
Libraries
Programming
Bookmark foundation 0.03
foundation 0.03 Copyright
WareSeeker periodically updates pricing and software information of foundation 0.03 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 foundation 0.03 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
foundations
make a wish foundation
foundation grants
foundation center
foundation vents
national kidney foundation
history of myanmar year of foundation
foundations kate nash
perl modules
second single zac brown band the foundation
foundation for a better life
lance armstrong foundation
perfect foundation
foundation repair
life extension foundation
foundation tutorial
british heart foundation
install perl module
Version History
Related Software
Kwiki::Emoticon is a Perl module with emoticon phrase for Kwiki. Free Download
Siren is a music player for GNOME with an extremely minimalist interface. Free Download
Math::ODE Perl module allows you to solve N-th Order Ordinary Differential Equations with as little pain as possible. Free Download
Jabber::Connection is a simple Perl module with connectivity functions for Jabber. Free Download
Tie::Google is a Perl module with single-variable access to Google search results. Free Download
XML::Output is a Perl module for writing simple XML documents. Free Download
Module::Versions is a Perl module to handle versions of loaded modules with flexible result interface. Free Download
Test::Stochastic is a Perl module to check probabilities of randomized methods. Free Download
Latest Software
Popular Software
Favourite Software