Pod::Perldoc::BaseTo(3pm) Perl Programmers Reference Guide Pod::Perldoc::BaseTo(3pm)

# [NAME](#NAME)

Pod::Perldoc::BaseTo - Base for Pod::Perldoc formatters

# [SYNOPSIS](#SYNOPSIS)

```
    package Pod::Perldoc::ToMyFormat;
    use parent qw( Pod::Perldoc::BaseTo );
    ...
```

# [DESCRIPTION](#DESCRIPTION)

This package is meant as a base of Pod::Perldoc formatters, like Pod::Perldoc::ToText, Pod::Perldoc::ToMan, etc.

It provides default implementations for the methods

```
    is_pageable
    write_with_binmode
    output_extension
    _perldoc_elem
```

The concrete formatter must implement

```
    new
    parse_from_file
```

# [SEE ALSO](#SEE_ALSO)

perldoc

# [COPYRIGHT AND DISCLAIMERS](#COPYRIGHT_AND_DISCLAIMERS)

Copyright (c) 2002-2007 Sean M. Burke.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.

# [AUTHOR](#AUTHOR)

Current maintainer: Mark Allen "&lt;mallen@cpan.org&gt;"

Past contributions from: brian d foy "&lt;bdfoy@cpan.org&gt;" Adriano R. Ferreira "&lt;ferreira@cpan.org&gt;", Sean M. Burke "&lt;sburke@cpan.org&gt;"

2026-10-27 perl v5.44.0

---

Document: Pod::Perldoc::BaseTo(3pm) from perl 5.44.0-r4 (Chainguard OS)
Source: https://github.com/Perl/perl5.git
