From 637775c6064f4f7e28fa26bab5b5499df52ab040 Mon Sep 17 00:00:00 2001 From: Timofey Potapov Date: Fri, 16 Aug 2024 15:54:21 +0200 Subject: [PATCH] Updated pod. --- Changes | 2 +- README.md | 13 ++++++++++++- lib/e.pm | 13 ++++++++++++- 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/Changes b/Changes index 9c7e2f1..f323d7b 100644 --- a/Changes +++ b/Changes @@ -4,7 +4,7 @@ Revision history for e 1.28 - 2024-08-NN ================= -TBD +Updated pod. ================= 1.27 - 2024-08-08 diff --git a/README.md b/README.md index 2bc3d3e..bebbae6 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,18 @@ Simple debugger on the command line: Show a stack trace. - trace( $depth=1 ) + trace( OPTIONS ) + +OPTIONS: + + -levels => NUM, # How many scope levels to show. + NUM, # Same. + + -raw => 1, # Include internal calls. + -NUM, # Same. + + -message => STR, # Message to display. + STR, # Same. ### watch diff --git a/lib/e.pm b/lib/e.pm index 46e6d90..aba137b 100644 --- a/lib/e.pm +++ b/lib/e.pm @@ -171,7 +171,18 @@ Simple debugger on the command line: Show a stack trace. - trace( $depth=1 ) + trace( OPTIONS ) + +OPTIONS: + + -levels => NUM, # How many scope levels to show. + NUM, # Same. + + -raw => 1, # Include internal calls. + -NUM, # Same. + + -message => STR, # Message to display. + STR, # Same. =head3 watch