develooper Front page | perl.perl5.changes | Postings from March 2021

[Perl/perl5] 50e8f6: Add ability to easily add info to DEBUG output

From:
Karl Williamson via perl5-changes
Date:
March 17, 2021 17:22
Subject:
[Perl/perl5] 50e8f6: Add ability to easily add info to DEBUG output
Message ID:
Perl/perl5/push/refs/heads/blead/8aed29-50e8f6@github.com
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 50e8f677c30c6af7e17d923d97f6c32fa36be35f
      https://github.com/Perl/perl5/commit/50e8f677c30c6af7e17d923d97f6c32fa36be35f
  Author: Karl Williamson <khw@cpan.org>
  Date:   2021-03-17 (Wed, 17 Mar 2021)

  Changed paths:
    M perl.h

  Log Message:
  -----------
  Add ability to easily add info to DEBUG output

This commit adds two macros that a user can define and recompile Perl to
get every active DEBUG statement to do some thing beyond what it would
normally do.

This allows someone to recompile Perl when they need to delve deeper
into fixing a bug without otherwise increasing memory use or slowing
execution.





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About