Padre::Task::SyntaxChecker::Perl - Perl document syntax-checking in the background
# 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::Documents->current->text_get, notebook_page => Padre::Documents->current->editor, on_finish => sub { my $task = shift; ... }, newlines => "\r\n", # specify the newline type! ); $task2->schedule;
This class implements syntax checking of Perl documents in the background. It inherits from Padre::Task::SyntaxChecker. Please read its documentation!
This class inherits from Padre::Task::SyntaxChecker which in turn is a Padre::Task and its instances can be scheduled using Padre::TaskManager.
The transfer of the objects to and from the worker threads is implemented with Storable.
Steffen Mueller smueller@cpan.org
smueller@cpan.org
Copyright 2008 Gabor Szabo.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.
To install Padre, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Padre
CPAN shell
perl -MCPAN -e shell install Padre
For more information on module installation, please visit the detailed CPAN module installation guide.