Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of LTjake (4001)

Friday January 15, 2010
09:47 AM

New Padre-Plugin-PerlTidy release

[ #40104 ]

Padre 0.54 introduced a couple of project-specific settings, one for Perl::Critic and another for Perl::Tidy. As the maintainer of the Perl::Tidy plugin, it was only natural that I should implement support for this new feature.

Unfortunately, it wasn't immediately obvious to me how I might get at this info. With Adam's guidance, I was able to write the following:

my $tidyrc = $self->current->document->project->config->config_perltidy;

It's a mess of chained method calls, but, it pretty clear that we're getting the current document's project-related config, if it exists.

Here's a screenshot of the new version of the plugin in action.


Grab version 0.09 from CPAN now.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.