---
name: "Padre::Plugin::PerlTidy"
section: "3pm"
platform: "linux"
package: "libpadre-plugin-perltidy-perl"
version: "0.21-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/Padre::Plugin::PerlTidy"
---

# Padre::Plugin::PerlTidy(3pm)

Format perl files using Perl::Tidy

## NAME

Padre::Plugin::PerlTidy - Format perl files using Perl::Tidy

## DESCRIPTION

This is a simple plugin to run Perl::Tidy on your source code.

Currently there are no customisable options (since the Padre plugin system doesn't support that yet) - however Perl::Tidy will use your normal .perltidyrc file if it exists (see Perl::Tidy documentation).

## METHODS

### padre\_interfaces

Indicates our compatibility with Padre.

### plugin\_name

A simple accessor for the name of the plugin.

### menu\_plugins\_simple

Menu items for this plugin.

### tidy\_document

Runs Perl::Tidy on the current document.

### export\_document

Export the current document as html.

### tidy\_selection

Runs Perl::Tidy on the current code selection.

### export\_selection

Export the current code selection as html.
