From 4fed57809b7a5b265b1ae5ac5b35b927acb9fc56 Mon Sep 17 00:00:00 2001 From: Andy Jack Date: Sat, 28 Nov 2015 10:30:35 -0500 Subject: [PATCH 1/2] Pod formatting fixes - change to bulleted list - more C<> for formatted text - remove trailing whitespace --- lib/Enbugger.pod | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/Enbugger.pod b/lib/Enbugger.pod index b60e91a..110dff0 100644 --- a/lib/Enbugger.pod +++ b/lib/Enbugger.pod @@ -71,17 +71,17 @@ how you'd do it if you wanted to implement this feature. =over -=item # +=item * Set the various C pointers set by Perl_init_debugger to NULL -=item # +=item * Clear the DB:: package. Beware of the C and C functions. If you ever load another debugger again you'll need to ensure you have at least stub functions left or you could suffer a fatal, deadly death. -=item # +=item * Change all C B::COP nodes back to be C ops. @@ -114,15 +114,15 @@ If you load the L module, you can use unhandled exceptions or UNIX signals as break points. In addition, loading the debugger is deferred until your signal or exception is triggered. -I like using this with both die() and SIGUSR1 handled enough that both +I like using this with both C and C handled enough that both are the default for handling. use Enbugger::OnError; use Enbugger::OnError qw( __DIE__ USR1 ); # equivalent A program using the above line will trigger a break point whenever an -unhandled die() occurs or whenever the USR1 signal is received. To use -other signals, just specify them at the use(). +unhandled C occurs or whenever the C signal is received. To use +other signals, just specify them at the C. use Enbugger::OnError qw( USR1 USR2 INT HUP ); @@ -227,7 +227,7 @@ Receive a perl debugger. Enter h or `h h' for help, or `man perldebug' for more help. $2 = (void *) 0x85c000 - (gdb) + (gdb) main::((eval 16)[-e:1]:1):eval{warn q(stopping);require Enbugger;Enbugger->stop};print STDERR $@ DB<1> p "Hi, I am in perl verson $] now" Hi, I am in perl verson 5.010000 now From b548b43e4de74aa430f450103688538b2ac0390d Mon Sep 17 00:00:00 2001 From: Andy Jack Date: Sat, 28 Nov 2015 10:32:46 -0500 Subject: [PATCH 2/2] Add utf8 encoding --- lib/Enbugger.pod | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Enbugger.pod b/lib/Enbugger.pod index 110dff0..ce5a351 100644 --- a/lib/Enbugger.pod +++ b/lib/Enbugger.pod @@ -1,3 +1,4 @@ +=encoding utf8 =head1 NAME