Tags: OSCON, perl, continuity, lightning talk, oscon2008, REPL
At the last minute I ended up giving a Lightning talk at OSCON 2008 (in the Perl track). I showed my Devel::REPL + Continuity debugging tool.
Here are my notes:
Lightning Talk OSCON 2008
Brock Wilcox
awwaiid@thelackthereof.org
See also:
* Continuity
* Continuity::REPL
* Devel::REPL
* Carp::REPL
* PadWalker
# .... These were then run in the REPL ....
# counter.pl at:
# http://thelackthereof.org/projects/perl/Continuity-Monitor/eg/counter.pl
use PadWalker 'peek_my';
my $h = peek_my 23;
${ $h->{'$counter'} } = 77;
# Then...
sub new_prompt {
my ($request) = @_;
$request->print("Muahahaha!");
return old_prompt(@_);
}
*old_prompt = *prompt;
*prompt = *new_prompt;