Markdent::Role::DebugPrinter(3pm)

Markdent::Role::DebugPrinter3pm

A role for classes which output debugging information

Version

version 0.40

Overview

This role implements behavior shared by all classes which output debugging information.

Attributes

This roles provides the following attributes:

debug

This is a read-write boolean attribute.

It defaults to the value of $ENV{MARKDENT_DEBUG}, if set, or 0.

Methods

This roles provides the following methods:

$object->_debug_parse_result( $text, $type, $extra )

This method takes a text string, a parse result string (like "preformatted" or "code_start"), and an optional array reference of extra key/value pairs.

All of this will be concatenated together in a pretty(-ish) way and passed to "$object->_print_debug".

$object->_print_debug($text)

This warns out the provided text along with a delimiter above the message.

Source

The source code repository for Markdent can be found at <https://github.com/houseabsolute/Markdent>.

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

Bugs

See Markdent for bug reporting details.

Bugs may be submitted at <https://github.com/houseabsolute/Markdent/issues>.

I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".

Author

Dave Rolsky <[email protected]>

From libmarkdent-perl 0.40-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.