THE LACK THEREOF

2008.07.24 OSCON Lighnting Talk

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;

Navigation

Blog

https://thelackthereof.org/pics/16px-Feed-icon.svg.png Blog RSS Feed

Tweets


Code

Follow @awwaiid

Wiki Edits

https://thelackthereof.org/pics/16px-Feed-icon.svg.png Wiki RSS Feed

... more changes