Path to this page:
Subject: CVS commit: wip/p5-Sub-Override
From: Roman Kulik
Date: 2006-03-09 18:47:45
Message id: E1FHPF2-0004CV-AY@sc8-pr-cvs1.sourceforge.net
Log Message:
Sub::Override allows the programmer to simply name the sub to replace
and to supply a sub to replace it with.
my $override = Sub::Override->new('Some::sub', sub {'new data'});
# which is equivalent to:
my $override = Sub::Override->new;
$override->replace('Some::sub', sub { 'new data' });
WWW: http://search.cpan.org/dist/Sub-Override/
Files: