Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.082.581 Times

Modify class method in-place 1.0

  Date Added: May 10, 2013  |  Visits: 409

Modify class method in-place

Report Broken Link
Printer Friendly Version


Product Homepage
Download (58 downloads)



Once in a while it becomes necessary to globally change the behaviour of classes in a third party library. This code demonstrates the ability to modify the __init__ method of an arbitrary class in-place. It's also good for making functional programmers wince, which can be entertaining.

Requirements: No special requirements
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python , BSD Solaris
Keyword: Arbitrary Arbitrary Class Class Class Behaviour Class Method Method
Users rating: 0/10

License: Freeware
USER REVIEWS
More Reviews or Write Review


MODIFY CLASS METHOD IN-PLACE RELATED
Libraries  -  Class::Method::hash 2.08
Class::Method::hash is a Perl module that helps you create methods for handling a hash value. SYNOPSIS use Class::MethodMaker [ hash => [qw/ x /] ]; $instance->x; # empty $instance->x(a => 1, b => 2, c => 3); $instance->x_count == 3; #...
89.09 KB  
Miscellaneous  -  Right method names suggestion 1.2
This script uses __getattr__ to modify the error messages given when a wrong class method is called. It shows the first five ranked most similar method names, followed by the first line of their docstrings (this is useful to see their parameters,...
 
Libraries  -  UNIVERSAL::derived_classes 0.01
SYNOPSIS require UNIVERSAL::derived_classes; package A; package B; @ISA = qw( A ); package C; @ISA = qw( B ); package main; my @derived_classes = A->derived_classes; # B, C my @derived_classes_reversed = A->derived_classes_reversed;...
3.07 KB  
Modules  -  InverseExtendGenerators 1.1
This script is the same as InverseExtend, except it uses a yield for non-local flow of control.It iterates downward through a hierarchy calling a method at each step.Each parent class method *must* be a generator with exactly one yield statement...
 
Miscellaneous  -  Dynamically added methods to a class 1.0
This script allows you to add a method to a class at an arbitrary point in your code. The method is available instantly to all already existing instances and of course ones yet to be created. If you specify method_name then that name is used for...
 
Database Tools  -  Simple db class 1.0
Simple db class is able to execute arbitrary SQL queries.Key Features of Simple db class:- Connect to a MySQL database server host- Execute INSERT, UPDATE and DELETE queries passing only the table name and the values of the fields, values and...
10 KB  
Libraries  -  Class::Declare::Attributes 0.04
Class::Declare::Attributes is a Perl module with Class::Declare method types using Perl attributes. SYNOPSIS package My::Class; use 5.006; use strict; use warnings; use base qw( Class::Declare::Attributes ); # declare the...
21.5 KB  
Libraries  -  Class::Contract 1.00
Class::Contract - Design-by-Contract OO in Perl. SYNOPSIS package ClassName use Class::Contract; contract { inherits BaseClass; invar { ... }; attr data1; attr data2 => HASH; class attr shared => SCALAR; ctor new; method...
26.62 KB  
Libraries  -  Class::IntrospectionMethods::Catalog 1.003
Class::IntrospectionMethods::Catalog can manage catalogs from IntrospectionMethods. Exported functions set_method_info( target_class, method_name, info_ref ) Store construction info for method method_name of class target_class....
31.74 KB  
Database Tools  -  cbMySQL 4.0.2
cbMySQL is a PHP Class witch can create, alter, and modify MySQL databases and tables. For backup issues, you can export CSV data directly with only one class method. The MySQL object is much easier to handle than PHPs built in functions, and...
44.03 KB  
NEW DOWNLOADS IN SCRIPTS, MISCELLANEOUS
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Miscellaneous  -  ZZIPlib Library for File sharing 0.13.56
Different applications can group files together into a single .zip archive and access them afterward.The library uses only the patent-free compression-algorithms supported by Zlib.It provides functions that transparently access files being either...
675.84 KB  
Miscellaneous  -  Traveling Salesman Problem - Nearest Neighbor Script 1.1
This method produces different results depending on what city is choosen as the starting point.This function determines the Nearest Neighbor routes for multiple starting points and returns the best of those routes.
10 KB  
Miscellaneous  -  N/A Checkbox 6.x-1.8
N/A Checkbox will allow website builders to add a checkbox next to a number textfield. The idea is to provide the users a textfield to enter a numeric value, or mark N/A in case they don't have it. When the N/A option is marked, a different value...
10 KB  
Miscellaneous  -  ILIAS LMS 4.1.2
ILIAS is a web base learning management system (LMS, VLE).Features of ILIAS LMS:- Courses,- SCORM 1.2 and 2004,- mail,- forum,- chat,- groups,- podcast,- file sharing,- authoring,- CMS,- test,- wiki,- personal desktop,- LOM,- LDAP,- role based...
89 MB  
Miscellaneous  -  Scribe for WordPress 2.0.4
Scribe is an SEO software service for WordPress - think of it as a content optimization assistant - that analyzes web pages, blog posts, and online press releases at the click of a button.Scribe then tells web writers of any kind how to tweak...
10 KB