The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

debug Perl-code

Recursively debug Perl-code.

The level of recursive debugging is shown in the prompt. For example ((trepan.pl)) indicates one nested level of debugging.

Examples:

 debug finonacci(5)   # Debug fibonacci function
 debug $x=1; $y=2;    # Kind of pointless, but doable.