Padre::Task::SyntaxChecker::Perl(3) Perl document syntax-checking in the background

SYNOPSIS


# by default, the text of the current document
# will be fetched as will the document's notebook page.
my $task = Padre::Task::SyntaxChecker::Perl->new(
newlines => "\r\n", # specify the newline type!
);
$task->schedule;

my $task2 = Padre::Task::SyntaxChecker::Perl->new(
text => Padre::Current->document->text_get,
editor => Padre::Current->editor,
on_finish => sub { my $task = shift; ... },
newlines => "\r\n", # specify the newline type!
);
$task2->schedule;

DESCRIPTION

This class implements syntax checking of Perl documents in the background. It inherits from Padre::Task::SyntaxChecker. Please read its documentation!

AUTHOR

Steffen Mueller "[email protected]"

COPYRIGHT AND LICENSE

Copyright 2008-2010 The Padre development team as listed in Padre.pm.

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